On Thu, Jun 09, 2016 at 01:35:19PM +0000, Carl Eugen Hoyos wrote:
> 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.
> 

Sure. Changed locally, will push soon, thanks.

-- 
Clément B.

Attachment: signature.asc
Description: PGP signature

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

Reply via email to