mirror of
https://github.com/opencv/opencv.git
synced 2025-06-06 17:03:18 +08:00
core: fixed error message to avoid confusion
This commit is contained in:
parent
f18cbd036a
commit
d659eb9327
@ -716,7 +716,7 @@ public:
|
|||||||
else if(strncmp( bufPtr, xml_signature, strlen(xml_signature) ) == 0)
|
else if(strncmp( bufPtr, xml_signature, strlen(xml_signature) ) == 0)
|
||||||
fmt = FileStorage::FORMAT_XML;
|
fmt = FileStorage::FORMAT_XML;
|
||||||
else if(strbufsize == bufOffset)
|
else if(strbufsize == bufOffset)
|
||||||
CV_Error(CV_BADARG_ERR, "Input file is empty");
|
CV_Error(CV_BADARG_ERR, "Input file is invalid");
|
||||||
else
|
else
|
||||||
CV_Error(CV_BADARG_ERR, "Unsupported file storage format");
|
CV_Error(CV_BADARG_ERR, "Unsupported file storage format");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user