4.45 beta

This commit is contained in:
Igor Pavlov
2007-04-17 00:00:00 +00:00
committed by Kornel Lesiński
parent d9666cf046
commit a145bfc7cf
458 changed files with 13144 additions and 18608 deletions

View File

@@ -409,7 +409,10 @@ HRESULT CDecoder::DecodePPM(Int32 num, bool &keepDecompressing)
{
RINOK(WriteBuf());
if (_writtenFileSize > _unpackSize)
{
keepDecompressing = false;
return S_OK;
}
}
int c = DecodePpmSymbol();
if (c == -1)
@@ -616,7 +619,10 @@ HRESULT CDecoder::DecodeLZ(bool &keepDecompressing)
{
RINOK(WriteBuf());
if (_writtenFileSize > _unpackSize)
{
keepDecompressing = false;
return S_OK;
}
}
UInt32 number = m_MainDecoder.DecodeSymbol(&m_InBitStream);
if (number < 256)