Am Mi., 22. Jan. 2020 um 01:13 Uhr schrieb Zane van Iperen
<z...@zanevaniperen.com>:

> Ah, sorry I misunderstood. How's this?
>
>  >    if (hdr.magic != ASF_TAG)
>  >        return 0;
>  >
>  >    if (!argo_asf_is_known_version(&hdr))
>  >        return 25;
>  >
>  >    return (AVPROBE_SCORE_MAX / 2) + 1;

I like this much better, use AVPROBE_SCORE_EXTENSION / 2 and
AVPROBE_SCORE_EXTENSION + 1 as it's done in other places.

Carl Eugen
_______________________________________________
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