Merge pull request #596 from delroth/master

AVIDump: fix FFV1 encoding
This commit is contained in:
shuffle2 2014-07-09 18:02:40 -07:00
commit 15c1250d9d

View File

@ -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);