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,7 +2799,14 @@ namespace NExtractTools ...@@ -2799,7 +2799,14 @@ namespace NExtractTools
//clean up v8 //clean up v8
NSDoctRenderer::CDocBuilder::Dispose(); NSDoctRenderer::CDocBuilder::Dispose();
return result; if (SUCCEEDED_X2T(result) && oInputParams.m_bOutputConvertCorrupted)
{
return AVS_FILEUTILS_ERROR_CONVERT_CORRUPTED;
}
else
{
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