mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
ac3probe: Change threshold from 500 to 200 to keep in sync with mp3.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b51eaf3b8c
commit
8d5078c10b
@ -60,7 +60,7 @@ static int ac3_eac3_probe(AVProbeData *p, enum CodecID expected_codec_id)
|
|||||||
// keep this in sync with mp3 probe, both need to avoid
|
// keep this in sync with mp3 probe, both need to avoid
|
||||||
// issues with MPEG-files!
|
// issues with MPEG-files!
|
||||||
if (first_frames>=4) 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>200)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(max_frames>=1) return 1;
|
else if(max_frames>=1) return 1;
|
||||||
else return 0;
|
else return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user