aboutsummaryrefslogtreecommitdiff
path: root/src/huffman/huff.h
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2024-04-21 22:35:07 +0200
committerGitHub <noreply@github.com>2024-04-21 22:35:07 +0200
commit3b65b373bc822a0ee0410edb80fa4ecfc0b454da (patch)
tree6d46b40a782aa282e60b3e9583d5a9120287c3b3 /src/huffman/huff.h
parent605222393594f5885b877bfc0086dae756674965 (diff)
parent7250eca739f060dd6984b9ea74a9fbb8b0a7c353 (diff)
Merge pull request #346 from ladislav-zezula/LZ_GabeShermanFoundBugs
Fixed bugs found by Gabe Sherman
Diffstat (limited to 'src/huffman/huff.h')
-rw-r--r--src/huffman/huff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/huffman/huff.h b/src/huffman/huff.h
index cf1ca4c..b2c6370 100644
--- a/src/huffman/huff.h
+++ b/src/huffman/huff.h
@@ -28,8 +28,8 @@ class TInputStream
public:
TInputStream(void * pvInBuffer, size_t cbInBuffer);
- unsigned int Get1Bit();
- unsigned int Get8Bits();
+ bool Get1Bit(unsigned int & BitValue);
+ bool Get8Bits(unsigned int & ByteValue);
bool Peek7Bits(unsigned int & Value);
void SkipBits(unsigned int BitCount);