avformat/lvfdec: increase the score for odd channels to max/8
[ffmpeg.git] / 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;
 }