summaryrefslogtreecommitdiff
path: root/zinflate.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-04-08 01:28:03 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-04-08 01:28:03 +0000
commit28a05b7a85c837025b0de2e685dfeaf0075cccf3 (patch)
treefb0ea8ae3af76e0dee03294315afce0f61594591 /zinflate.h
parent4e91888d8cbace3f1ce41c359253563ca83547cc (diff)
downloadcryptopp-28a05b7a85c837025b0de2e685dfeaf0075cccf3.tar.gz
speed up DEFLATE decompression
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@155 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'zinflate.h')
-rw-r--r--zinflate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zinflate.h b/zinflate.h
index 14829fd..9aa112b 100644
--- a/zinflate.h
+++ b/zinflate.h
@@ -132,7 +132,7 @@ private:
enum State {PRE_STREAM, WAIT_HEADER, DECODING_BODY, POST_STREAM, AFTER_END};
State m_state;
- bool m_repeat, m_eof;
+ bool m_repeat, m_eof, m_wrappedAround;
byte m_blockType;
word16 m_storedLen;
enum NextDecode {LITERAL, LENGTH_BITS, DISTANCE, DISTANCE_BITS};
@@ -141,7 +141,7 @@ private:
HuffmanDecoder m_dynamicLiteralDecoder, m_dynamicDistanceDecoder;
LowFirstBitReader m_reader;
SecByteBlock m_window;
- unsigned int m_maxDistance, m_current, m_lastFlush;
+ unsigned int m_current, m_lastFlush;
};
NAMESPACE_END