From 919e37377a76f63d030d680fcb9506a3f8cc2d62 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 12 May 2018 18:33:26 +0200 Subject: avformat/bintext: Reduce detection for random .bin files as it more likely is not a multimedia related file Signed-off-by: Michael Niedermayer --- libavformat/bintext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/bintext.c') diff --git a/libavformat/bintext.c b/libavformat/bintext.c index f1c0b3e892..0b499d9555 100644 --- a/libavformat/bintext.c +++ b/libavformat/bintext.c @@ -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) -- cgit v1.2.3