diff options
author | DeeJayLSP <djlsplays@gmail.com> | 2023-01-25 10:24:01 -0300 |
---|---|---|
committer | DeeJayLSP <djlsplays@gmail.com> | 2023-01-25 10:38:03 -0300 |
commit | d8e8517d1174e8593338329a0535da178444817a (patch) | |
tree | 40cc35c11f5ae4813e8f9f8340f7771800704d03 /thirdparty/libwebp/src/utils/huffman_utils.c | |
parent | 6369196b9698c92854bb4dba458ad0b099965d8f (diff) |
libwebp: Sync with upstream 1.3.0
Diffstat (limited to 'thirdparty/libwebp/src/utils/huffman_utils.c')
-rw-r--r-- | thirdparty/libwebp/src/utils/huffman_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libwebp/src/utils/huffman_utils.c b/thirdparty/libwebp/src/utils/huffman_utils.c index 0cba0fbb7d..90c2fbf7c1 100644 --- a/thirdparty/libwebp/src/utils/huffman_utils.c +++ b/thirdparty/libwebp/src/utils/huffman_utils.c @@ -142,7 +142,7 @@ static int BuildHuffmanTable(HuffmanCode* const root_table, int root_bits, { int step; // step size to replicate values in current table - uint32_t low = -1; // low bits for current root entry + uint32_t low = 0xffffffffu; // low bits for current root entry uint32_t mask = total_size - 1; // mask for low bits uint32_t key = 0; // reversed prefix code int num_nodes = 1; // number of Huffman tree nodes |