Merge pull request #3446 from pokeefe:fix-compilation-without-videoio

This commit is contained in:
Vadim Pisarevsky 2014-12-01 10:41:34 +00:00
commit d368a7ceb4

View File

@ -70,7 +70,7 @@ public:
if (!vc.isOpened())
CV_Error(0, "can't open file: " + path_);
#else
CV_Error(CV_StsNotImplemented, "OpenCV has been compiled without video I/O support");
CV_Error(Error::StsNotImplemented, "OpenCV has been compiled without video I/O support");
#endif
}