Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #596 from delroth/master
AVIDump: fix FFV1 encoding
  • Loading branch information
shuffle2 committed Jul 10, 2014
2 parents 7b95bc7 + da697df commit 15c1250
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Core/VideoCommon/AVIDump.cpp
Expand Up @@ -328,6 +328,10 @@ void AVIDump::AddFrame(const u8* data, int width, int height)
height, s_scaled_frame->data, s_scaled_frame->linesize);
}

s_scaled_frame->format = s_stream->codec->pix_fmt;
s_scaled_frame->width = s_width;
s_scaled_frame->height = s_height;

// Encode and write the image.
AVPacket pkt;
PreparePacket(&pkt);
Expand Down

0 comments on commit 15c1250

Please sign in to comment.