[FFmpeg-devel] [PATCH] reduce score returned by FLIC format

Benoit Fouet benoit.fouet
Tue Mar 25 17:48:10 CET 2008


Mike Melanson wrote:
> Benoit Fouet wrote:
>   
>> Hi,
>>
>> http://www.despatis.com/bug.wav is a wave file detected as a flic video one
>> reducing the score returned by flic.c solves the problem, is it ok ?
>>     
>
> Seems a bit of a hack. I think a better solution would be to
> sanity-check some more header fields. The first 4 bytes of the file
> should match the total size of the file. The width and height could also
> be sanity-checked (this is part of how the id CIN demuxer detects a file).
>
> Right now, the demuxer has 3 in 65536 chance of qualifying a given file.
> That probability should be much lower. Please open an issue and assign
> it to me. I think I can cover all the cases.
>
>   

ok, done (Issue399)

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list