Commit 6d78cfc0 authored by Pat O'Keefe's avatar Pat O'Keefe

Fix compilation when building without the Video I/O module.

parent 73ba4356
...@@ -70,7 +70,7 @@ public: ...@@ -70,7 +70,7 @@ public:
if (!vc.isOpened()) if (!vc.isOpened())
CV_Error(0, "can't open file: " + path_); CV_Error(0, "can't open file: " + path_);
#else #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 #endif
} }
......
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