diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-07-25 20:39:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-07-25 20:39:43 +0000 |
commit | e0c850a8c43000ce087037471c239882a2832172 (patch) | |
tree | 74951a2d5bf3c9e11a42cff9a726bbc6d094be6b | |
parent | 11bf3847b352e85936cf3c17d224da2e49e83296 (diff) | |
download | ffmpeg-e0c850a8c43000ce087037471c239882a2832172.tar.gz |
Avoid misdetecting acelp in ASF as MP3.
fixes 2001-04-11.asf
Originally committed as revision 9799 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index e1729cbc11..c8243ef058 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; } |