Am Do., 24. Sept. 2020 um 19:35 Uhr schrieb Paul B Mahol <one...@gmail.com>:
> +static int ace_probe(const AVProbeData *p) > +{ > + uint32_t asc; > + > + if (AV_RB32(p->buf) != MKBETAG('A','A','C',' ')) > + return 0; > + if (p->buf_size < 0x44) > + return 0; > + asc = AV_RB32(p->buf + 0x40); > + if (asc < 0x44 || asc > p->buf_size - 4) > + return 0; > + if (AV_RB32(p->buf + asc) != MKBETAG('A','S','C',' ')) > + return 0; > + > + return AVPROBE_SCORE_MAX / 2 + 1; Is there a reason why you don't return >= MAX-1 for 64bit conformance? 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".