You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/asfdec_f: fix need_parsing flag for codec mpeg4
AVSTREAM_PARSE_FULL_ONCE is only implemented for H.264. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
@@ -460,7 +460,7 @@ static int asf_read_stream_properties(AVFormatContext *s, int64_t size)
|
||||
if (st->codecpar->codec_id == AV_CODEC_ID_H264)
|
||||
sti->need_parsing = AVSTREAM_PARSE_FULL_ONCE;
|
||||
if (st->codecpar->codec_id == AV_CODEC_ID_MPEG4)
|
||||
sti->need_parsing = AVSTREAM_PARSE_FULL_ONCE;
|
||||
sti->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
if (st->codecpar->codec_id == AV_CODEC_ID_HEVC)
|
||||
sti->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user