22/1/20 10:30 am, Carl Eugen Hoyos пишет: > > 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. >
Done. Is it worth sending a v4 for such a small change, or should I just send an additional patch? > 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". > Zane _______________________________________________ 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".