mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Restore deflate.decoder.n_huffs_bits's refinement
This commit is contained in:
1 parent
b075fcbed9
commit
5aeb98c701
5 files changed
+20
-28
No files matched your search
@@ -45,8 +45,8 @@ pri func decoder.decode_huffman_slow?(dst base.io_writer, src base.io_reader) {
|
||||
bits = this.bits
|
||||
n_bits = this.n_bits
|
||||
|
||||
lmask = ((1 as base.u32) << this.n_huffs_bits[0].min(x:9)) - 1
|
||||
dmask = ((1 as base.u32) << this.n_huffs_bits[1].min(x:9)) - 1
|
||||
lmask = ((1 as base.u32) << this.n_huffs_bits[0]) - 1
|
||||
dmask = ((1 as base.u32) << this.n_huffs_bits[1]) - 1
|
||||
|
||||
while:loop not coroutine_resumed {
|
||||
// Decode an lcode symbol from H-L.
|
||||
|
||||
Reference in new issue
Block a user