[FFmpeg-cvslog] r19849 - trunk/libavformat/mp3.c
michael
subversion
Tue Sep 15 01:03:33 CEST 2009
Author: michael
Date: Tue Sep 15 01:03:33 2009
New Revision: 19849
Log:
Slighty tweak mp3 probe threshold to prevent probetest from complaining.
Modified:
trunk/libavformat/mp3.c
Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c Tue Sep 15 00:03:07 2009 (r19848)
+++ trunk/libavformat/mp3.c Tue Sep 15 01:03:33 2009 (r19849)
@@ -60,7 +60,7 @@ static int mp3_read_probe(AVProbeData *p
if(buf == buf0)
first_frames= frames;
}
- if (first_frames>=3) return AVPROBE_SCORE_MAX/2+1;
+ if (first_frames>=4) return AVPROBE_SCORE_MAX/2+1;
else if(max_frames>500)return AVPROBE_SCORE_MAX/2;
else if(max_frames>=4) return AVPROBE_SCORE_MAX/4;
else if(buf0!=p->buf) return AVPROBE_SCORE_MAX/4-1;
More information about the ffmpeg-cvslog
mailing list