libwebp: Sync with upstream 1.3.0

(cherry picked from commit d8e8517d11)
This commit is contained in:
DeeJayLSP
2023-01-25 10:24:01 -03:00
committed by Rémi Verschelde
parent 75e0db7ee5
commit 6a9c714326
47 changed files with 377 additions and 268 deletions

View File

@ -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