diff --git a/libavcodec/parser.c b/libavcodec/parser.c index ab3bf8ddb3..f3e7ee3356 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -70,6 +70,7 @@ AVCodecParserContext *av_parser_init(int codec_id) } } s->fetch_timestamp=1; + s->pict_type = FF_I_TYPE; return s; }