aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-07-19 02:43:23 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-07-19 02:43:23 +0000
commit34e0d78936588b5b1f44fcbbf1baca3a166a672c (patch)
tree164763791da3fe96bd5d209855387e7152dfbd4b
parent6ebc89ac484bd32bd8650a927b1132c22336659e (diff)
downloadffmpeg-34e0d78936588b5b1f44fcbbf1baca3a166a672c.tar.gz
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
-rw-r--r--libavcodec/roqvideoenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 013821c2fd..a115e5851b 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -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);