This commit is contained in:
Ryan Oldenburg 2022-05-25 19:22:17 -05:00
parent 07d16c7c87
commit 297ddc6c60

View file

@ -521,7 +521,7 @@ proc huffmanDecode(state: var DecoderState, tableCurrent, table: int): uint8 =
return huffman.symbols[symbolId]
template lrot(value: uint32, shift: int): uint32 =
## Left rotate - used for huffman decoding.
## Left rotate
(value shl shift) or (value shr (32 - shift))
proc getBit(state: var DecoderState): int =