[FFmpeg-cvslog] r11148 - trunk/libavformat/mp3.c
michael
subversion
Mon Dec 3 10:26:44 CET 2007
Author: michael
Date: Mon Dec 3 10:26:44 2007
New Revision: 11148
Log:
return a slightly larger score if we find more than 500 valid mp3 frames in a row
Modified:
trunk/libavformat/mp3.c
Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c (original)
+++ trunk/libavformat/mp3.c Mon Dec 3 10:26:44 2007
@@ -420,6 +420,7 @@ static int mp3_read_probe(AVProbeData *p
first_frames= frames;
}
if (first_frames>=3) return AVPROBE_SCORE_MAX/2+1;
+ else if(max_frames>500)return AVPROBE_SCORE_MAX/2;
else if(max_frames>=3) return AVPROBE_SCORE_MAX/4;
else if(max_frames>=1) return 1;
else return 0;
More information about the ffmpeg-cvslog
mailing list