avformat/lvfdec: increase the score for odd channels to max/8
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Nov 2013 12:10:23 +0000 (13:10 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Nov 2013 12:36:59 +0000 (13:36 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/lvfdec.c

index d4bad12..1ff67c8 100644 (file)
@@ -29,7 +29,7 @@ static int lvf_probe(AVProbeData *p)
         return 0;
 
     if (!AV_RL32(p->buf + 16) || AV_RL32(p->buf + 16) > 256)
-        return 0;
+        return AVPROBE_SCORE_MAX / 8;
 
     return AVPROBE_SCORE_EXTENSION;
 }