[FFmpeg-cvslog] avformat/bintext: Reduce detection for random .bin files as it more likely is not a multimedia related file
Michael Niedermayer
git at videolan.org
Tue May 22 22:06:04 EEST 2018
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat May 12 18:33:26 2018 +0200| [919e37377a76f63d030d680fcb9506a3f8cc2d62] | committer: Michael Niedermayer
avformat/bintext: Reduce detection for random .bin files as it more likely is not a multimedia related file
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=919e37377a76f63d030d680fcb9506a3f8cc2d62
---
libavformat/bintext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list