提交 d659eb93 编写于 作者: T Thang Tran

core: fixed error message to avoid confusion

上级 f18cbd03
......@@ -716,7 +716,7 @@ public:
else if(strncmp( bufPtr, xml_signature, strlen(xml_signature) ) == 0)
fmt = FileStorage::FORMAT_XML;
else if(strbufsize == bufOffset)
CV_Error(CV_BADARG_ERR, "Input file is empty");
CV_Error(CV_BADARG_ERR, "Input file is invalid");
else
CV_Error(CV_BADARG_ERR, "Unsupported file storage format");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册