[FFmpeg-devel] [PATCH] probetest.c

Ivo ivop
Tue Sep 22 03:08:41 CEST 2009


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.

> Others weak probes:
[..]
> lmlm4

This one returns either /3 or /5 depending on "how much" it finds.

--Ivo




More information about the ffmpeg-devel mailing list