Skip to content
Snippets Groups Projects
Commit 72e4ceeb authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avformat/asfdec: Use a parser for mpeg4-asp to find has_b_frames

parent ad7de822
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment