Remove unused variable
authorvbystricky <user@user-pc.(none)>
Tue, 8 Jul 2014 09:29:28 +0000 (13:29 +0400)
committervbystricky <user@user-pc.(none)>
Tue, 8 Jul 2014 09:29:28 +0000 (13:29 +0400)
modules/highgui/src/cap_dshow.cpp
modules/highgui/src/cap_dshow.hpp

index 337ed6d..bc9f05e 100644 (file)
@@ -3106,7 +3106,6 @@ videoInput VideoCapture_DShow::g_VI;
 
 VideoCapture_DShow::VideoCapture_DShow(int index)
     : m_index(-1)
-    , m_frame(0)
     , m_width(-1)
     , m_height(-1)
     , m_fourcc(-1)
@@ -3311,7 +3310,6 @@ void VideoCapture_DShow::close()
     {
         g_VI.stopDevice(m_index);
         m_index = -1;
-        cvReleaseImage(&m_frame);
     }
     m_widthSet = m_heightSet = m_width = m_height = -1;
 }
index c4ab571..2225145 100644 (file)
@@ -39,7 +39,6 @@ protected:
 
     int m_index, m_width, m_height, m_fourcc;
     int m_widthSet, m_heightSet;
-    IplImage* m_frame;
     static videoInput g_VI;
 };