Browse code

ac3probe: Change threshold from 500 to 200 to keep in sync with mp3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/12/01 02:08:23
Showing 1 changed files
... ...
@@ -60,7 +60,7 @@ static int ac3_eac3_probe(AVProbeData *p, enum CodecID expected_codec_id)
60 60
     // keep this in sync with mp3 probe, both need to avoid
61 61
     // issues with MPEG-files!
62 62
     if   (first_frames>=4) return AVPROBE_SCORE_MAX/2+1;
63
-    else if(max_frames>500)return AVPROBE_SCORE_MAX/2;
63
+    else if(max_frames>200)return AVPROBE_SCORE_MAX/2;
64 64
     else if(max_frames>=4) return AVPROBE_SCORE_MAX/4;
65 65
     else if(max_frames>=1) return 1;
66 66
     else                   return 0;