commit | e84669251801e440e727b920cb711ee988cb9345 | [log] [tgz] |
---|---|---|
author | Mark Adler <madler@alumni.caltech.edu> | Wed Dec 26 13:41:36 2018 -0800 |
committer | Mark Adler <madler@alumni.caltech.edu> | Wed Dec 26 13:41:36 2018 -0800 |
tree | 92c074f55c17e15aec14022a1f352e7cd3fe667a | |
parent | 45a6a12033ab847eaec2b0a59cec0844f971d67a [diff] |
Generate zlib CRC tables in case compiled with dynamic tables. It is possible that the zlib being used was compiled with dynamic CRC tables, i.e. with DYNAMIC_CRC_TABLE defined. In that case, the tables must be generated before multiple threads can be allowed to compute CRCs. The get_crc_table() function forces that generation.