From 7652af9df06ddcdb6f6fdf52919c2d6260b51ca1 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 18 Jan 2018 21:25:49 +0100 Subject: [PATCH] lavf/swfdec: Reduce score when auto-detecting swf files. Not more than 32bit are tested. --- 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