[FFmpeg-devel] [PATCH 3/4] avcodec/mpegaudio_tablegen: more dynamic table creation speedups

Derek Buitenhuis derek.buitenhuis at gmail.com
Sat Nov 28 21:29:08 CET 2015


On 11/28/2015 5:03 PM, Ganesh Ajjanagadde wrote:
> +        if (i % 4 == 0)

I doubt it particularly matters in this case, but you can
avoid a modulo operator here with i & 3, like elsewhere
in the file. I doubt the compiler is that dumb, though.
Same for other occurrences. 

- Derek


More information about the ffmpeg-devel mailing list