[FFmpeg-devel] [PATCH] probetest.c

Michael Niedermayer michaelni
Tue Sep 22 17:52:57 CEST 2009


On Tue, Sep 22, 2009 at 03:08:41AM +0200, Ivo wrote:
> Hi,
> 
> On Tuesday 15 September 2009 19:39, Vitor Sessak wrote:
> > Michael Niedermayer wrote:
> > > Failure of mpc8 probing code with score=100 type=3 p=85A size=64
> >
> > This one have a probe code like
> >
> > > static int probe(AVProbeData *p)
> > > {
> > >     if (AV_RL32(p->buf) == SOME_TAG)
> > >         return AVPROBE_SCORE_MAX;
> > >     return 0;
> > > }
> >
> > It is not the only one. A list of those are
> [..]
> > pva
> 
> I checked it, and I actually use return AVPROBE_SCORE_MAX/2 exactly for the 
> reason to avoid misdetections. I could lower it to /3 though if that's 
> wanted.

cant you check more bytes?


> 
> > Others weak probes:
> [..]
> > lmlm4
> 
> This one returns either /3 or /5 depending on "how much" it finds.

same ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090922/46c3f346/attachment.pgp>



More information about the ffmpeg-devel mailing list