Clément Bœsch <u <at> pkh.me> writes:

> +            if (b[3] == '#')
> +                return AVPROBE_SCORE_EXTENSION + 1;
> +            if (b[3] >= '0' && b[3] <= '9')
> +                return AVPROBE_SCORE_MAX - 1;

Imo, this should be:
if (b[3] == '#' || (b[3] >= '0' && b[3] <= '9'))
  return AVPROBE_SCORE_EXTENSION + 2;
or similar

I count 37 and 34 bits which is only a little more than 
the usual 32 bit for EXTENSION + 1.

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to