2017-09-10 21:03 GMT+02:00 Paul B Mahol <one...@gmail.com>: > +static int wcap_probe(AVProbeData *pd) > +{ > + if (AV_RB32(pd->buf) == MKTAG('W','C','A','P')) > + return AVPROBE_SCORE_MAX; > + else > + return 0; > +}
MAX / 2 is what we normally use for 32bit compliance iirc. (Why is it less for musx?) And the else is unneeded. Thank you, Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel