From 34e0d78936588b5b1f44fcbbf1baca3a166a672c Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 19 Jul 2008 02:43:23 +0000 Subject: Set avctx->coded_frame in RoQ encoder. At some point in the SVN history this became mandated. Fix issue 548. Originally committed as revision 14287 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/roqvideoenc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/roqvideoenc.c') diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index 013821c2fd..a115e5851b 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c @@ -911,6 +911,8 @@ static void roq_encode_video(RoqContext *enc) reconstruct_and_encode_image(enc, &tempData, enc->width, enc->height, enc->width*enc->height/64); + enc->avctx->coded_frame = enc->current_frame; + /* Rotate frame history */ FFSWAP(AVFrame *, enc->current_frame, enc->last_frame); FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4); -- cgit v1.2.3