ExtHandler.cpp (p7zip_15.14.1_src_all) | : | ExtHandler.cpp (p7zip_16.02_src_all) | ||
---|---|---|---|---|
skipping to change at line 2760 | skipping to change at line 2760 | |||
if (hres == S_FALSE || !inSeqStream) | if (hres == S_FALSE || !inSeqStream) | |||
{ | { | |||
if (hres == E_OUTOFMEMORY) | if (hres == E_OUTOFMEMORY) | |||
return hres; | return hres; | |||
res = NExtract::NOperationResult::kUnsupportedMethod; | res = NExtract::NOperationResult::kUnsupportedMethod; | |||
} | } | |||
else | else | |||
{ | { | |||
RINOK(hres); | RINOK(hres); | |||
{ | { | |||
HRESULT hres = copyCoder->Code(inSeqStream, outStream, NULL, NULL, pro gress); | hres = copyCoder->Code(inSeqStream, outStream, NULL, NULL, progress); | |||
if (hres == S_OK) | if (hres == S_OK) | |||
{ | { | |||
if (copyCoderSpec->TotalSize == unpackSize) | if (copyCoderSpec->TotalSize == unpackSize) | |||
res = NExtract::NOperationResult::kOK; | res = NExtract::NOperationResult::kOK; | |||
} | } | |||
else if (hres == E_NOTIMPL) | else if (hres == E_NOTIMPL) | |||
{ | { | |||
res = NExtract::NOperationResult::kUnsupportedMethod; | res = NExtract::NOperationResult::kUnsupportedMethod; | |||
} | } | |||
else if (hres != S_FALSE) | else if (hres != S_FALSE) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |