diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-03 16:44:46 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-03 17:23:30 +0400 |
commit | 72e4ceeb7977aa1fde8069ac86c32988e6a0b0c6 (patch) | |
tree | 63ab32944033c8064d8483ac2f1be4602ce40ffb /libavformat/asfdec.c | |
parent | ad7de82218e9ee2232e53ab49cda85767cf800e5 (diff) |
avformat/asfdec: Use a parser for mpeg4-asp to find has_b_frames
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |