diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-12 18:33:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-15 22:31:13 +0200 |
commit | 4f644b263223d239d2b550197dedf79f40d5e149 (patch) | |
tree | e9bef67f727bcd92bde82339b230d62f53b27f28 | |
parent | 1d01a3b34c924998da310c4776af36047d1b7fde (diff) | |
download | ffmpeg-4f644b263223d239d2b550197dedf79f40d5e149.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>
(cherry picked from commit 919e37377a76f63d030d680fcb9506a3f8cc2d62)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/bintext.c | 2 |
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) |