From: Pat O'Keefe Date: Tue, 25 Nov 2014 18:52:07 +0000 (-0500) Subject: Fix compilation when building without the Video I/O module. X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~2814^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d78cfc0d9efff366e6a80ee9758cfc5ef4335fb;p=platform%2Fupstream%2Fopencv.git Fix compilation when building without the Video I/O module. --- diff --git a/modules/videostab/src/frame_source.cpp b/modules/videostab/src/frame_source.cpp index 9db9d52..07237de 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 }