[FFmpeg-devel] [PATCH 1/2] avformat/icodec: ico probe with unknown data

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Feb 16 09:29:46 CET 2016


Mark Harris <mark.hsj <at> gmail.com> writes:

>     Header:  OK, 2 frames
>     Frame 0: Unknown (offset points beyond end of probe buffer)
>     Frame 1: Invalid
> Previously this example had a score of 25, even though the score would
> be 1 if the unknown frame was known to be valid or 0 if it was known
> to be invalid.  For this example the score is now 1.

If the header is ok and the offset points beyond the end 
of the probe buffer, the score was always 25 (before I 
extended the check). Why should this be changed?
25 is not very high after checking ~40 bit.

Carl Eugen



More information about the ffmpeg-devel mailing list