diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index a7d860927b..03f4b20164 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -501,6 +501,8 @@ static int asf_read_stream_properties(AVFormatContext *s, int64_t size) } if (st->codec->codec_id == AV_CODEC_ID_H264) st->need_parsing = AVSTREAM_PARSE_FULL_ONCE; + if (st->codec->codec_id == AV_CODEC_ID_MPEG4) + st->need_parsing = AVSTREAM_PARSE_FULL_ONCE; } pos2 = avio_tell(pb); avio_skip(pb, size - (pos2 - pos1 + 24));