Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Compress/DeflateDecoder.cpp')
-rwxr-xr-xCPP/7zip/Compress/DeflateDecoder.cpp2
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 (;;)
{