mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Tweak the decode_huffman_fast loop condition more.
This commit is contained in:
1 parent
f6e072fe77
commit
b6a079fd3e
2 files changed
+18
-7
No files matched your search
+2
-1
@@ -2040,7 +2040,8 @@ static puffs_flate__status puffs_flate__flate_decoder__decode_huffman_fast(
|
||||
v_lmask = ((((uint32_t)(1)) << self->private_impl.f_n_huffs_bits[0]) - 1);
|
||||
v_dmask = ((((uint32_t)(1)) << self->private_impl.f_n_huffs_bits[1]) - 1);
|
||||
label_0_continue:;
|
||||
while (((uint64_t)(b_rend_src - b_rptr_src)) >= 12) {
|
||||
while ((((uint64_t)(b_wend_dst - b_wptr_dst)) >= 258) &&
|
||||
(((uint64_t)(b_rend_src - b_rptr_src)) >= 12)) {
|
||||
if (v_n_bits < 15) {
|
||||
{
|
||||
uint8_t t_0 = *b_rptr_src++;
|
||||
|
||||
Reference in new issue
Block a user