mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Fix compilation when building without the Video I/O module.
This commit is contained in:
parent
73ba435610
commit
6d78cfc0d9
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user