avformat/bintext: Reduce detection for random .bin files as it more likely is not...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 May 2018 16:33:26 +0000 (18:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 22 May 2018 19:05:45 +0000 (21:05 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/bintext.c

index f1c0b3e..0b499d9 100644 (file)
@@ -163,7 +163,7 @@ static int bin_probe(AVProbeData *p)
 
         if (par.width * par.height * 2 / (8*16) == p->buf_size)
             return AVPROBE_SCORE_MAX / 2;
-        return 1;
+        return 0;
     }
 
     if (sauce)