Browse Source

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

Not more than 32bit are tested.
tags/n4.0
Carl Eugen Hoyos 7 years ago
parent
commit
7652af9df0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/swfdec.c

+ 1
- 1
libavformat/swfdec.c View File

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


Loading…
Cancel
Save