[FFmpeg-devel] [PATCH] probetest.c

Baptiste Coudurier baptiste.coudurier
Mon Sep 14 21:13:42 CEST 2009


On 09/14/2009 10:33 AM, Michael Niedermayer wrote:
> On Mon, Sep 14, 2009 at 05:19:03PM +0200, Michael Niedermayer wrote:
>> Some simple probe testing code should be attached
>>
>> its output, aka formats that detect random data with a score>25 are:
>> Failure of h261 probing code with score=50 type=0 p=B53 size=2
>> Failure of vc1test probing code with score=50 type=0 p=40E size=4
>> Failure of h263 probing code with score=50 type=0 p=C1E size=4
>> Failure of idcin probing code with score=50 type=0 p=E93 size=8
>> Failure of mm probing code with score=50 type=0 p=FC0 size=128
>> Failure of dv probing code with score=75 type=1 p=E85 size=256
>> Failure of vmd probing code with score=50 type=0 p=AF4 size=512
>> Failure of mpeg probing code with score=52 type=0 p=D9C size=4096
>> Failure of dts probing code with score=51 type=1 p=B8F size=8192
>>
>> maintainers of the listed formats should look into fixing their probe
>> code!
>> ill try to look at h26*/mpeg if i find the time, that said if someone
>> else is faster thats welcome of course ...
>
> 2nd version, more evil, more failures :)
>
> [...]
 >
> Failure of swf probing code with score=100 type=3 p=D02 size=16384

Hummm:

     if ((p->buf[0] == 'F' || p->buf[0] == 'C') && p->buf[1] == 'W' &&
         p->buf[2] == 'S')
         return AVPROBE_SCORE_MAX;

Does this need fixing ?

[...]

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list