Commit a07708d0 authored by vitor's avatar vitor

Set avctx->coded_frame in RoQ encoder. At some point in

the SVN history this became mandated. Fix issue 548.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14287 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a10ab203
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment