Commit 7fe7facf authored by vbystricky's avatar vbystricky

Remove unused variable

parent eb8366bb
...@@ -3106,7 +3106,6 @@ videoInput VideoCapture_DShow::g_VI; ...@@ -3106,7 +3106,6 @@ videoInput VideoCapture_DShow::g_VI;
VideoCapture_DShow::VideoCapture_DShow(int index) VideoCapture_DShow::VideoCapture_DShow(int index)
: m_index(-1) : m_index(-1)
, m_frame(0)
, m_width(-1) , m_width(-1)
, m_height(-1) , m_height(-1)
, m_fourcc(-1) , m_fourcc(-1)
...@@ -3311,7 +3310,6 @@ void VideoCapture_DShow::close() ...@@ -3311,7 +3310,6 @@ void VideoCapture_DShow::close()
{ {
g_VI.stopDevice(m_index); g_VI.stopDevice(m_index);
m_index = -1; m_index = -1;
cvReleaseImage(&m_frame);
} }
m_widthSet = m_heightSet = m_width = m_height = -1; m_widthSet = m_heightSet = m_width = m_height = -1;
} }
......
...@@ -39,7 +39,6 @@ protected: ...@@ -39,7 +39,6 @@ protected:
int m_index, m_width, m_height, m_fourcc; int m_index, m_width, m_height, m_fourcc;
int m_widthSet, m_heightSet; int m_widthSet, m_heightSet;
IplImage* m_frame;
static videoInput g_VI; static videoInput g_VI;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment