History

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

Not more than 32bit are tested.

Carl Eugen Hoyos committed 8 years ago

Commit 7652af91 parent 07a96b61 file · +1 −1Browse files

Unified · Split

libavformat/swfdec.c+1−1
@@ -95,7 +95,7 @@ static int swf_probe(AVProbeData *p) · 94 unmodified lines
95 if (p->buf[3] >= 20 || xmax < 16 || ymax < 16)95 if (p->buf[3] >= 20 || xmax < 16 || ymax < 16)
96 return AVPROBE_SCORE_MAX / 4;96 return AVPROBE_SCORE_MAX / 4;
97 97
98 return AVPROBE_SCORE_MAX;98 return AVPROBE_SCORE_EXTENSION + 1;
99}99}
100 100
101#if CONFIG_ZLIB101#if CONFIG_ZLIB

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t