10l (wrong coded_picture)
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Sep 2004 10:07:08 +0000 (10:07 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Sep 2004 10:07:08 +0000 (10:07 +0000)
Originally committed as revision 3441 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index 6f51545..1d031b4 100644 (file)
@@ -1542,6 +1542,7 @@ void MPV_frame_end(MpegEncContext *s)
     memset(&s->next_picture, 0, sizeof(Picture));
     memset(&s->current_picture, 0, sizeof(Picture));
 #endif
+    s->avctx->coded_frame= (AVFrame*)s->current_picture_ptr;
 }
 
 /**