mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
Avoid misdetecting acelp in ASF as MP3.
fixes 2001-04-11.asf Originally committed as revision 9799 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
11bf3847b3
commit
e0c850a8c4
@ -1941,7 +1941,7 @@ int av_find_stream_info(AVFormatContext *ic)
|
||||
}
|
||||
}else if(st->codec->codec_type == CODEC_TYPE_AUDIO) {
|
||||
if (st->codec->codec_id == CODEC_ID_NONE && probe_data[st->index].buf_size > 0) {
|
||||
codec_identified[st->index] = set_codec_from_probe_data(st, &(probe_data[st->index]), 0);
|
||||
codec_identified[st->index] = set_codec_from_probe_data(st, &(probe_data[st->index]), 1);
|
||||
if (codec_identified[st->index]) {
|
||||
st->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user