mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-27 09:43:34 +00:00
avformat/asfdec: Use a parser for mpeg4-asp to find has_b_frames
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ad7de82218
commit
72e4ceeb79
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user