Updated error messages in MPPImage Utils

This commit is contained in:
Prianka Liz Kariat 2023-10-03 23:59:46 +05:30
parent cebfa1cdac
commit da7013c746

View File

@ -126,7 +126,8 @@ static void FreeDataProviderReleaseCallback(void *info, const void *data, size_t
if (convertError != kvImageNoError) { if (convertError != kvImageNoError) {
[MPPCommonUtils createCustomError:error [MPPCommonUtils createCustomError:error
withCode:MPPTasksErrorCodeInternalError withCode:MPPTasksErrorCodeInternalError
description:@"Image format conversion failed."]; description:@"Some error occured while preprocessing the input image. "
@"Please verify that the image is not corrupted."];
return nullptr; return nullptr;
} }