[FFmpeg-devel] [PATCH]lavf/swfdec: Reduce score when auto-detecting swf files

Tomas Härdin tjoppen at acc.umu.se
Fri Jan 19 17:21:54 EET 2018

On 2018-01-18 21:28, Carl Eugen Hoyos wrote:
> Hi!
> The probe score for swf files (with uncompressed headers) is currently
> very high after testing a little more than 24bit, attached patch
> reduces the score.
> Please comment, Carl Eugen

Would be consistent with the discussion about .c2 files. Could we 
document this in avformat.h? Something like:

     // Score should be no more than AVPROBE_SCORE_MAX * identifying_bits/64
     // if the number of identifying "magic" bits are less than 64


More information about the ffmpeg-devel mailing list