diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-10 16:10:23 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-10 16:37:06 +0400 |
commit | 023953e96425a5fdff6b3904332ec621bb676b34 (patch) | |
tree | 315891e4f2a57f958495bbf9ab960e753d556fdd | |
parent | eb96802355ba69a604f49be41313cc162a7b4f4b (diff) |
avformat/astdec: increase the score for odd samplerate/channels to max/8
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/astdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/astdec.c b/libavformat/astdec.c index 12252dcb67..3fa26dccea 100644 --- a/libavformat/astdec.c +++ b/libavformat/astdec.c @@ -33,7 +33,7 @@ static int ast_probe(AVProbeData *p) if (!AV_RB16(p->buf + 10) || !AV_RB16(p->buf + 12) || AV_RB16(p->buf + 12) > 256 || !AV_RB32(p->buf + 16) || AV_RB32(p->buf + 16) > 8*48000) - return 1; + return AVPROBE_SCORE_MAX / 8; return AVPROBE_SCORE_MAX / 3 * 2; } |