mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-02-01 10:24:11 -06:00
4.43 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
0ec42ff829
commit
804edc5756
@@ -112,7 +112,6 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream,
|
||||
if (outSize == NULL)
|
||||
return E_INVALIDARG;
|
||||
UInt64 size = *outSize;
|
||||
const UInt64 startSize = size;
|
||||
|
||||
SetInStream(inStream);
|
||||
_outWindowStream.SetStream(outStream);
|
||||
@@ -120,7 +119,7 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream,
|
||||
CDecoderFlusher flusher(this);
|
||||
|
||||
const UInt64 start = _outWindowStream.GetProcessedSize();
|
||||
while(true)
|
||||
for (;;)
|
||||
{
|
||||
UInt32 curSize = 1 << 18;
|
||||
UInt64 rem = size - (_outWindowStream.GetProcessedSize() - start);
|
||||
|
||||
Reference in New Issue
Block a user