diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-15 05:39:44 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-15 05:39:44 +0000 |
commit | 9d9a6239258ef756414ee86a185a210eb71b591e (patch) | |
tree | abc7bf5e1f5e3135f70157758f8f70d9f799b119 /libavcodec/mpegvideo.c | |
parent | 8be080aebb817e45bdfbb9d13a405f900ecc6b99 (diff) | |
download | ffmpeg-9d9a6239258ef756414ee86a185a210eb71b591e.tar.gz |
decode mpeg-2 closed gop first b frames, fix issue #824
Originally committed as revision 18837 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 6ee10b5408..da157c733b 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2107,6 +2107,7 @@ void ff_mpeg_flush(AVCodecContext *avctx){ s->current_picture_ptr = s->last_picture_ptr = s->next_picture_ptr = NULL; s->mb_x= s->mb_y= 0; + s->closed_gop= 0; s->parse_context.state= -1; s->parse_context.frame_start_found= 0; |