mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-13 06:15:51 -04:00
lib/deflate_decompress: slight simplification in build_decode_table()
This commit is contained in:
parent
333eff73b2
commit
449b5adc16
@ -810,10 +810,9 @@ build_decode_table(u32 decode_table[],
|
||||
bit = 1U << bsr32(codeword ^ ((1U << len) - 1));
|
||||
codeword &= bit - 1;
|
||||
codeword |= bit;
|
||||
if (--count == 0) {
|
||||
while ((count = len_counts[++len]) == 0)
|
||||
;
|
||||
}
|
||||
count--;
|
||||
while (count == 0)
|
||||
count = len_counts[++len];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user