On Tue, Aug 25, 2020 at 01:28:56AM +0200, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <one...@gmail.com>
> ---
> [WIP] Missing video decoder.
[...]

> +static int moflex_probe(const AVProbeData *p)
> +{
> +    if (p->buf[0] != 0x4C && p->buf[1] != 0x32)
> +        return 0;
> +
> +    return AVPROBE_SCORE_MAX / 3;
> +}

It would be better to check more of the file (and maybe then also have a
higher score)
This as it is fails probetest
tools/probetest 256 4096
testing size=1
Failure of moflex probing code with score=33 type=0 p=53F size=1

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If the United States is serious about tackling the national security threats 
related to an insecure 5G network, it needs to rethink the extent to which it
values corporate profits and government espionage over security.-Bruce Schneier

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to