From 023953e96425a5fdff6b3904332ec621bb676b34 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Nov 2013 13:10:23 +0100 Subject: [PATCH] avformat/astdec: increase the score for odd samplerate/channels to max/8 Signed-off-by: Michael Niedermayer --- libavformat/astdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }