diff options
Diffstat (limited to '7zip/Archive/7z/7zFolderOutStream.cpp')
-rwxr-xr-x | 7zip/Archive/7z/7zFolderOutStream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/7zip/Archive/7z/7zFolderOutStream.cpp b/7zip/Archive/7z/7zFolderOutStream.cpp index bb770ccc..93bed3d9 100755 --- a/7zip/Archive/7z/7zFolderOutStream.cpp +++ b/7zip/Archive/7z/7zFolderOutStream.cpp @@ -48,7 +48,8 @@ HRESULT CFolderOutStream::OpenFile() UInt32 index = _startIndex + _currentIndex; RINOK(_extractCallback->GetStream(_ref2Offset + index, &realOutStream, askMode)); - _outStreamWithHashSpec->Init(realOutStream); + _outStreamWithHashSpec->SetStream(realOutStream); + _outStreamWithHashSpec->Init(); if (askMode == NArchive::NExtract::NAskMode::kExtract && (!realOutStream)) { |