diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-12-03 09:26:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-12-03 09:26:44 +0000 |
commit | 2db971135ab498a1258e2a00d76e004ede53ffa2 (patch) | |
tree | 4081b28352b9e5a41eb39e7b85e951d8c0574099 | |
parent | 5ef5501b71c3046302494d1f1fa45e9af3ea7a7a (diff) | |
download | ffmpeg-2db971135ab498a1258e2a00d76e004ede53ffa2.tar.gz |
return a slightly larger score if we find more than 500 valid mp3 frames in a row
Originally committed as revision 11148 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mp3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c index f99f5206b3..5d6af0f9b6 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -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; |