[FFmpeg-cvslog] r14287 - trunk/libavcodec/roqvideoenc.c

vitor subversion
Sat Jul 19 04:43:24 CEST 2008


Author: vitor
Date: Sat Jul 19 04:43:23 2008
New Revision: 14287

Log:
Set avctx->coded_frame in RoQ encoder. At some point in 
the SVN history this became mandated. Fix issue 548.



Modified:
   trunk/libavcodec/roqvideoenc.c

Modified: trunk/libavcodec/roqvideoenc.c
==============================================================================
--- trunk/libavcodec/roqvideoenc.c	(original)
+++ trunk/libavcodec/roqvideoenc.c	Sat Jul 19 04:43:23 2008
@@ -911,6 +911,8 @@ static void roq_encode_video(RoqContext 
     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);




More information about the ffmpeg-cvslog mailing list