From 28a05b7a85c837025b0de2e685dfeaf0075cccf3 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 8 Apr 2004 01:28:03 +0000 Subject: speed up DEFLATE decompression git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@155 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- zinflate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zinflate.h') 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 -- cgit v1.2.1