diff --git a/modules/highgui/src/cap_qt.cpp b/modules/highgui/src/cap_qt.cpp index 1e941d06af..d31f80ef08 100644 --- a/modules/highgui/src/cap_qt.cpp +++ b/modules/highgui/src/cap_qt.cpp @@ -634,11 +634,11 @@ static int icvOpenCamera_QT (CvCapture_QT_Cam * capture, const int index) OPENCV_ASSERT (capture, "icvOpenCamera_QT", "'capture' is a NULL-pointer"); OPENCV_ASSERT (index >=0, "icvOpenCamera_QT", "camera index is negative"); - ComponentDescription component_description; - Component component = 0; + ComponentDescription component_description; + Component component = 0; int number_of_inputs = 0; Rect myRect; - ComponentResult result = noErr; + ComponentResult result = noErr; // travers all components and count video digitizer channels