# HG changeset patch # User vitor # Date 1216435403 0 # Node ID 29319d07aeb4c111d5b3ea81104d215a9c197f43 # Parent 52764a3665d8161ed190dc47e6a5ea98818e95a6 Set avctx->coded_frame in RoQ encoder. At some point in the SVN history this became mandated. Fix issue 548. diff -r 52764a3665d8 -r 29319d07aeb4 roqvideoenc.c --- 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);