diff roqvideoenc.c @ 7308:29319d07aeb4 libavcodec

Set avctx->coded_frame in RoQ encoder. At some point in the SVN history this became mandated. Fix issue 548.
author vitor
date Sat, 19 Jul 2008 02:43:23 +0000
parents e943e1409077
children 9a72bea281c3
line wrap: on
line diff
--- a/roqvideoenc.c	Sat Jul 19 00:32:15 2008 +0000
+++ b/roqvideoenc.c	Sat Jul 19 02:43:23 2008 +0000
@@ -911,6 +911,8 @@
     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);