Am So., 8. März 2020 um 13:09 Uhr schrieb Zane van Iperen
<[email protected]>:
> +static int alp_probe(const AVProbeData *p)
> +{
> + uint32_t i;
> +
> + if (AV_RL32(p->buf) != ALP_TAG)
> + return 0;
> +
> + /* Only allowed header sizes are 8 and 12. */
> + i = AV_RL32(p->buf + 4);
> + if (i != 8 && i != 12)
> + return 0;
> +
> + if (strncmp("ADPCM", p->buf + 8, 6) != 0)
> + return 0;
> +
> + return AVPROBE_SCORE_EXTENSION + 1;
Should be MAX or MAX-1
Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".