diff options
Diffstat (limited to '7zip/Compress/Rar20/Rar20Decoder.cpp')
-rwxr-xr-x | 7zip/Compress/Rar20/Rar20Decoder.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/7zip/Compress/Rar20/Rar20Decoder.cpp b/7zip/Compress/Rar20/Rar20Decoder.cpp index 8da544f7..fd013a43 100755 --- a/7zip/Compress/Rar20/Rar20Decoder.cpp +++ b/7zip/Compress/Rar20/Rar20Decoder.cpp @@ -287,7 +287,10 @@ STDMETHODIMP CDecoder::CodeReal(ISequentialInStream *inStream, } else return S_FALSE; - CopyBackBlockOp(distance, length); + m_RepDists[m_RepDistPtr++ & 3] = distance; + m_LastLength = length; + if (!m_OutWindowStream.CopyBlock(distance, length)) + return S_FALSE; pos += length; } } |