Commit 42bc1de6 authored by michael's avatar michael

avoid missdetecting acelp in asf as mp3

fixes 2001-04-11.asf


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9799 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 09119a97
...@@ -1941,7 +1941,7 @@ int av_find_stream_info(AVFormatContext *ic) ...@@ -1941,7 +1941,7 @@ int av_find_stream_info(AVFormatContext *ic)
} }
}else if(st->codec->codec_type == CODEC_TYPE_AUDIO) { }else if(st->codec->codec_type == CODEC_TYPE_AUDIO) {
if (st->codec->codec_id == CODEC_ID_NONE && probe_data[st->index].buf_size > 0) { 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]) { if (codec_identified[st->index]) {
st->need_parsing = AVSTREAM_PARSE_FULL; st->need_parsing = AVSTREAM_PARSE_FULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment