diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-30 21:08:23 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-30 21:08:23 +0400 |
commit | 8d5078c10b0e2f813f00bd799ed7aab968707689 (patch) | |
tree | d3ee30ae76bd1fb65b8c0e284c2ed0f8adedb206 /libavformat/ac3dec.c | |
parent | b51eaf3b8ce85419038d1f8be9146a45febcddb4 (diff) |
ac3probe: Change threshold from 500 to 200 to keep in sync with mp3.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/ac3dec.c')
-rw-r--r-- | libavformat/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ac3dec.c b/libavformat/ac3dec.c index 282a72e2ce..f1421dc058 100644 --- a/libavformat/ac3dec.c +++ b/libavformat/ac3dec.c @@ -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 // issues with MPEG-files! 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>=1) return 1; else return 0; |