From 7fe7facfee4407b2b95a9a13e4041c7ebcf340ba Mon Sep 17 00:00:00 2001 From: vbystricky Date: Tue, 8 Jul 2014 13:29:28 +0400 Subject: [PATCH] Remove unused variable --- modules/highgui/src/cap_dshow.cpp | 2 -- modules/highgui/src/cap_dshow.hpp | 1 - 2 files changed, 3 deletions(-) diff --git a/modules/highgui/src/cap_dshow.cpp b/modules/highgui/src/cap_dshow.cpp index 337ed6d..bc9f05e 100644 --- a/modules/highgui/src/cap_dshow.cpp +++ b/modules/highgui/src/cap_dshow.cpp @@ -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; } diff --git a/modules/highgui/src/cap_dshow.hpp b/modules/highgui/src/cap_dshow.hpp index c4ab571..2225145 100644 --- a/modules/highgui/src/cap_dshow.hpp +++ b/modules/highgui/src/cap_dshow.hpp @@ -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; }; -- 2.7.4