diff mpegvideo.c @ 9644:15660ad4c641 libavcodec

decode mpeg-2 closed gop first b frames, fix issue #824
author bcoudurier
date Fri, 15 May 2009 05:39:44 +0000
parents 5c9d3a72aabf
children 5d0f71ba8648
line wrap: on
line diff
--- a/mpegvideo.c	Fri May 15 02:01:53 2009 +0000
+++ b/mpegvideo.c	Fri May 15 05:39:44 2009 +0000
@@ -2107,6 +2107,7 @@
     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;