[FFmpeg-devel] [PATCH] avutil/crc: always use precalculated CRC tables for known polynomials

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Oct 23 17:57:28 EEST 2017


On 10/23/2017 3:56 AM, Michael Niedermayer wrote:
> the initialization should be thread safe as it never writes a different
> value in the same spot
> This would avoid the need to alwas hardcode the tables

Still no reason to *not* put it under ff_thread_once, though,
to minimize work done.

- Derek


More information about the ffmpeg-devel mailing list