aboutsummaryrefslogtreecommitdiff
path: root/src/huffman/huff.h
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2023-06-08 16:44:10 +0200
committerLadislav Zezula <zezula@volny.cz>2023-06-08 16:44:10 +0200
commit5720fe3646f6fa602224b221a34c9dc0670fbaa8 (patch)
treeebade7301fe4a9c15e1b4ccbb9110eeb066ac255 /src/huffman/huff.h
parent28c9b4be3f23c6b3a5ff55cacac7dbe5b9cdc4fc (diff)
Fixed handling of the stream end in Huffmann decompression
Diffstat (limited to 'src/huffman/huff.h')
-rw-r--r--src/huffman/huff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/huffman/huff.h b/src/huffman/huff.h
index b75acbb..cf1ca4c 100644
--- a/src/huffman/huff.h
+++ b/src/huffman/huff.h
@@ -29,8 +29,8 @@ class TInputStream
TInputStream(void * pvInBuffer, size_t cbInBuffer);
unsigned int Get1Bit();
- unsigned int Peek7Bits();
unsigned int Get8Bits();
+ bool Peek7Bits(unsigned int & Value);
void SkipBits(unsigned int BitCount);
unsigned char * pbInBufferEnd; // End position in the the input buffer