Commit 7652af9d authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

Not more than 32bit are tested.
parent 07a96b62
...@@ -95,7 +95,7 @@ static int swf_probe(AVProbeData *p) ...@@ -95,7 +95,7 @@ static int swf_probe(AVProbeData *p)
if (p->buf[3] >= 20 || xmax < 16 || ymax < 16) if (p->buf[3] >= 20 || xmax < 16 || ymax < 16)
return AVPROBE_SCORE_MAX / 4; return AVPROBE_SCORE_MAX / 4;
return AVPROBE_SCORE_MAX; return AVPROBE_SCORE_EXTENSION + 1;
} }
#if CONFIG_ZLIB #if CONFIG_ZLIB
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment