aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-05-12 18:33:26 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-05-22 21:05:45 +0200
commit919e37377a76f63d030d680fcb9506a3f8cc2d62 (patch)
treebaf96d9c6dc107edfbbb1ac95b69aeeea09eb75c /libavformat
parent1083808c48cd58fe3b14dbfbbc3f46c2ae6c0352 (diff)
downloadffmpeg-919e37377a76f63d030d680fcb9506a3f8cc2d62.tar.gz
avformat/bintext: Reduce detection for random .bin files as it more likely is not a multimedia related file
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/bintext.c2
1 files changed, 1 insertions, 1 deletions
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)