Fix huffman decode
This commit is contained in:
parent
bb9c49b84d
commit
8ad7b5a71a
@ -585,7 +585,7 @@ decompress_huff(const size_t bits, buffer_t *buffer, const decompressIOVec *iov,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// read the current node's offset value
|
// read the current node's offset value
|
||||||
offset = tree[node] & 0x1F;
|
offset = tree[node] & 0x3F;
|
||||||
|
|
||||||
child = (node & ~1) + offset*2 + 2;
|
child = (node & ~1) + offset*2 + 2;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user