diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-09-14 23:03:33 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-09-14 23:03:33 +0000 |
commit | 1ac9563075edd386932ff402c378944cc2da1873 (patch) | |
tree | 7d0294eadd68c251e41d80c40b3648653ac9a05f /libavformat/mp3.c | |
parent | 6377de611a778273f307dfe43e43b4f9f0401186 (diff) | |
download | ffmpeg-1ac9563075edd386932ff402c378944cc2da1873.tar.gz |
Slighty tweak mp3 probe threshold to prevent probetest from complaining.
Originally committed as revision 19849 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r-- | libavformat/mp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c index c80b5d44f5..93d4be063b 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -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; |