vc1_parser: fix parsing of the frame headers in interlaced streams
[ffmpeg.git] / libavcodec / vc1_parser.c
index 0438b30..1321320 100644 (file)
@@ -45,6 +45,7 @@ static void vc1_extract_headers(AVCodecParserContext *s, AVCodecContext *avctx,
 
     vpc->v.s.avctx = avctx;
     vpc->v.parse_only = 1;
+    vpc->v.first_pic_header_flag = 1;
     next = buf;
     s->repeat_pict = 0;