diff options
author | Moonchild <moonchild@palemoon.org> | 2020-11-13 15:59:29 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-13 15:59:29 +0000 |
commit | d86f49ba59b2740e1e375016393c4994ec1e236e (patch) | |
tree | cb42b13d2da68dce3541953bfd049c1dc941d1d5 /modules/brotli/enc/encoder_dict.c | |
parent | 870fd86e13fc95e8cf3165a134767c56d58b8987 (diff) | |
download | UXP-d86f49ba59b2740e1e375016393c4994ec1e236e.tar UXP-d86f49ba59b2740e1e375016393c4994ec1e236e.tar.gz UXP-d86f49ba59b2740e1e375016393c4994ec1e236e.tar.lz UXP-d86f49ba59b2740e1e375016393c4994ec1e236e.tar.xz UXP-d86f49ba59b2740e1e375016393c4994ec1e236e.zip |
Issue #1683 - Update Brotli lib to 1.0.9
Diffstat (limited to 'modules/brotli/enc/encoder_dict.c')
-rw-r--r-- | modules/brotli/enc/encoder_dict.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/brotli/enc/encoder_dict.c b/modules/brotli/enc/encoder_dict.c index 8b2f6ad4a..c9e963b89 100644 --- a/modules/brotli/enc/encoder_dict.c +++ b/modules/brotli/enc/encoder_dict.c @@ -17,14 +17,15 @@ extern "C" { void BrotliInitEncoderDictionary(BrotliEncoderDictionary* dict) { dict->words = BrotliGetDictionary(); + dict->num_transforms = (uint32_t)BrotliGetTransforms()->num_transforms; - dict->hash_table = kStaticDictionaryHash; + dict->hash_table_words = kStaticDictionaryHashWords; + dict->hash_table_lengths = kStaticDictionaryHashLengths; dict->buckets = kStaticDictionaryBuckets; dict->dict_words = kStaticDictionaryWords; dict->cutoffTransformsCount = kCutoffTransformsCount; dict->cutoffTransforms = kCutoffTransforms; - } #if defined(__cplusplus) || defined(c_plusplus) |