aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/swfdec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-01-18 21:25:49 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-01-20 15:41:40 +0100
commit7652af9df06ddcdb6f6fdf52919c2d6260b51ca1 (patch)
treeb04b99d7221b54897912ca7ba84f4f663b3381e0 /libavformat/swfdec.c
parent07a96b6251f0d55d370e14d661301ced0cd03c24 (diff)
downloadffmpeg-7652af9df06ddcdb6f6fdf52919c2d6260b51ca1.tar.gz
lavf/swfdec: Reduce score when auto-detecting swf files.
Not more than 32bit are tested.
Diffstat (limited to 'libavformat/swfdec.c')
-rw-r--r--libavformat/swfdec.c2
1 files changed, 1 insertions, 1 deletions
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