aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-09-08 10:07:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-09-08 10:07:08 +0000
commit7b37a6e984d5f5e45e48641d19fb957c636d5994 (patch)
tree6153484dfad96c3dcfb5f7cd8098d8fa65e45080 /libavcodec/mpegvideo.c
parent56d8bd56596bbc333f8ac051d5dbd5bc4f0d1486 (diff)
downloadffmpeg-7b37a6e984d5f5e45e48641d19fb957c636d5994.tar.gz
10l (wrong coded_picture)
Originally committed as revision 3441 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 6f51545afd..1d031b4514 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;
}
/**