mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 12:56:44 +08:00
Slighty tweak mp3 probe threshold to prevent probetest from complaining.
Originally committed as revision 19849 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -60,7 +60,7 @@ static int mp3_read_probe(AVProbeData *p)
|
|||||||
if(buf == buf0)
|
if(buf == buf0)
|
||||||
first_frames= frames;
|
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>500)return AVPROBE_SCORE_MAX/2;
|
||||||
else if(max_frames>=4) return AVPROBE_SCORE_MAX/4;
|
else if(max_frames>=4) return AVPROBE_SCORE_MAX/4;
|
||||||
else if(buf0!=p->buf) return AVPROBE_SCORE_MAX/4-1;
|
else if(buf0!=p->buf) return AVPROBE_SCORE_MAX/4-1;
|
||||||
|
Reference in New Issue
Block a user