Remove unused variable
This commit is contained in:
parent
eb8366bb0a
commit
7fe7facfee
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user