1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

fix coverity reports

This commit is contained in:
Alexander Alekhin
2018-11-11 13:51:47 +00:00
parent 56eebb926d
commit 801c943009
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -348,7 +348,9 @@ struct CvCaptureCAM_V4L CV_FINAL : public CvCapture
/*********************** Implementations ***************************************/
CvCaptureCAM_V4L::CvCaptureCAM_V4L() : deviceHandle(-1), bufferIndex(-1)
{}
{
memset(&timestamp, 0, sizeof(timestamp));
}
CvCaptureCAM_V4L::~CvCaptureCAM_V4L() {
streaming(false);
@@ -1739,7 +1741,6 @@ double CvCaptureCAM_V4L::getProperty(int property_id) const
return value;
}
}
return -1.0;
}
bool CvCaptureCAM_V4L::icvSetFrameSize(int _width, int _height)