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

Michael Niedermayer michael at niedermayer.cc
Mon Oct 23 05:56:45 EEST 2017

On Sun, Oct 22, 2017 at 10:03:55AM -0300, James Almer wrote:
> This prevents data races in av_crc_get_table()

the modules which use a specific crc can init it during their
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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171023/ec894140/attachment.sig>

More information about the ffmpeg-devel mailing list