On Thu, Apr 28, 2016 at 01:13:34PM +0200, Paul B Mahol wrote: > Hi, > > patches attached. [...]
> +static int bonk_probe(AVProbeData *p) > +{ > + int i; > + > + for (i = 0; i < p->buf_size - 5; i++) { > + if (!p->buf[i] && AV_RL32(p->buf + i + 1) == MKTAG('B','O','N','K')) > + return AVPROBE_SCORE_MAX; > + else if (!p->buf[i]) > + break; > + } > + > + return 0; > +} > + this fails probetest tools/probetest 256 4096 testing size=1 testing size=2 testing size=4 testing size=8 testing size=16 testing size=32 testing size=64 testing size=128 testing size=256 testing size=512 Failure of bonk probing code with score=100 type=3 p=8B2 size=512 testing size=1024 testing size=2048 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Avoid a single point of failure, be that a person or equipment.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel