[FFmpeg-cvslog] r9799 - trunk/libavformat/utils.c

michael subversion
Wed Jul 25 22:39:44 CEST 2007


Author: michael
Date: Wed Jul 25 22:39:43 2007
New Revision: 9799

Log:
avoid missdetecting acelp in asf as mp3
fixes 2001-04-11.asf


Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Wed Jul 25 22:39:43 2007
@@ -1941,7 +1941,7 @@ int av_find_stream_info(AVFormatContext 
             }
         }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;
                 }




More information about the ffmpeg-cvslog mailing list