mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Set avctx->coded_frame in RoQ encoder. At some point in
the SVN history this became mandated. Fix issue 548. Originally committed as revision 14287 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6ebc89ac48
commit
34e0d78936
@ -911,6 +911,8 @@ static void roq_encode_video(RoqContext *enc)
|
|||||||
reconstruct_and_encode_image(enc, &tempData, enc->width, enc->height,
|
reconstruct_and_encode_image(enc, &tempData, enc->width, enc->height,
|
||||||
enc->width*enc->height/64);
|
enc->width*enc->height/64);
|
||||||
|
|
||||||
|
enc->avctx->coded_frame = enc->current_frame;
|
||||||
|
|
||||||
/* Rotate frame history */
|
/* Rotate frame history */
|
||||||
FFSWAP(AVFrame *, enc->current_frame, enc->last_frame);
|
FFSWAP(AVFrame *, enc->current_frame, enc->last_frame);
|
||||||
FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4);
|
FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4);
|
||||||
|
Loading…
Reference in New Issue
Block a user