Am Do., 24. Sept. 2020 um 13:44 Uhr schrieb Paul B Mahol <g...@videolan.org>:
> +static int ipu_read_probe(const AVProbeData *p) > +{ > + if (AV_RB32(p->buf) != MKBETAG('i', 'p', 'u', 'm')) > + return 0; > + > + if (AV_RL32(p->buf + 4) == 0) > + return 0; > + > + if (AV_RL16(p->buf + 8) == 0) > + return 0; > + > + if (AV_RL16(p->buf + 10) == 0) > + return 0; > + > + if (AV_RL32(p->buf + 12) == 0) > + return 0; > + > + return AVPROBE_SCORE_MAX; I don't think above check is significantly better than just checking 32bit, so I believe the score is too high. 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".