diff options
Diffstat (limited to 'CPP/7zip/Compress/DeflateDecoder.cpp')
-rwxr-xr-x | CPP/7zip/Compress/DeflateDecoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Compress/DeflateDecoder.cpp b/CPP/7zip/Compress/DeflateDecoder.cpp index cf4a5105..2848cd81 100755 --- a/CPP/7zip/Compress/DeflateDecoder.cpp +++ b/CPP/7zip/Compress/DeflateDecoder.cpp @@ -250,7 +250,7 @@ HRESULT CCoder::CodeReal(ISequentialOutStream *outStream, m_OutWindowStream.SetStream(outStream); CCoderReleaser flusher(this); - const UInt64 inStart = m_InBitStream.GetProcessedSize(); + const UInt64 inStart = _needInitInStream ? 0 : m_InBitStream.GetProcessedSize(); const UInt64 start = m_OutWindowStream.GetProcessedSize(); for (;;) { |