]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqvideoenc.c
OKed parts of the QCELP decoder
[ffmpeg] / libavcodec / roqvideoenc.c
index 013821c2fd770d33dd62dc468662d56175ef6b6d..a115e5851bf0b0930f14de48ecc83f8546749059 100644 (file)
@@ -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);