[FFmpeg-cvslog] lavf/swfdec: Reduce score when auto-detecting swf files.
Carl Eugen Hoyos
git at videolan.org
Sat Jan 20 16:42:18 EET 2018
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Thu Jan 18 21:25:49 2018 +0100| [7652af9df06ddcdb6f6fdf52919c2d6260b51ca1] | committer: Carl Eugen Hoyos
lavf/swfdec: Reduce score when auto-detecting swf files.
Not more than 32bit are tested.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7652af9df06ddcdb6f6fdf52919c2d6260b51ca1
---
libavformat/swfdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index 57b619fb20..212157f54a 100644
--- a/libavformat/swfdec.c
+++ b/libavformat/swfdec.c
@@ -95,7 +95,7 @@ static int swf_probe(AVProbeData *p)
if (p->buf[3] >= 20 || xmax < 16 || ymax < 16)
return AVPROBE_SCORE_MAX / 4;
- return AVPROBE_SCORE_MAX;
+ return AVPROBE_SCORE_EXTENSION + 1;
}
#if CONFIG_ZLIB
More information about the ffmpeg-cvslog
mailing list