changeset 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 52764a3665d8
children 4d3c6cd51003
files roqvideoenc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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);