Commit b2211507 authored by Sergey Konovalov's avatar Sergey Konovalov

return AVS_FILEUTILS_ERROR_CONVERT_CORRUPTED in case of error in appling changes

parent 2084587e
...@@ -2799,8 +2799,15 @@ namespace NExtractTools ...@@ -2799,8 +2799,15 @@ namespace NExtractTools
//clean up v8 //clean up v8
NSDoctRenderer::CDocBuilder::Dispose(); NSDoctRenderer::CDocBuilder::Dispose();
if (SUCCEEDED_X2T(result) && oInputParams.m_bOutputConvertCorrupted)
{
return AVS_FILEUTILS_ERROR_CONVERT_CORRUPTED;
}
else
{
return result; return result;
} }
}
int FromFile(const std::wstring& file) int FromFile(const std::wstring& file)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment