diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-01-18 23:25:49 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2018-01-20 17:41:40 +0300 |
commit | 7652af9df06ddcdb6f6fdf52919c2d6260b51ca1 (patch) | |
tree | b04b99d7221b54897912ca7ba84f4f663b3381e0 /libavformat/swfdec.c | |
parent | 07a96b6251f0d55d370e14d661301ced0cd03c24 (diff) |
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.c | 2 |
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 |