1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavf/swfdec: Reduce score when auto-detecting swf files.

Not more than 32bit are tested.
This commit is contained in:
Carl Eugen Hoyos 2018-01-18 21:25:49 +01:00
parent 07a96b6251
commit 7652af9df0

View File

@ -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