From 6d78cfc0d9efff366e6a80ee9758cfc5ef4335fb Mon Sep 17 00:00:00 2001 From: Pat O'Keefe Date: Tue, 25 Nov 2014 13:52:07 -0500 Subject: [PATCH] Fix compilation when building without the Video I/O module. --- modules/videostab/src/frame_source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videostab/src/frame_source.cpp b/modules/videostab/src/frame_source.cpp index 9db9d52a05..07237de2a4 100644 --- a/modules/videostab/src/frame_source.cpp +++ b/modules/videostab/src/frame_source.cpp @@ -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 }