nextEltwiseLayer = nextData->layerInstance.dynamicCast<EltwiseLayer>();
if( !nextEltwiseLayer.empty() && pinsToKeep.count(lpNext) == 0 &&
- nextData->inputBlobsId.size() == 2 )
+ nextData && nextData->inputBlobsId.size() == 2 )
{
LayerData *eltwiseData = nextData;
/*********************** Implementations ***************************************/
CvCaptureCAM_V4L::CvCaptureCAM_V4L() : deviceHandle(-1), bufferIndex(-1)
-{}
+{
+ memset(×tamp, 0, sizeof(timestamp));
+}
CvCaptureCAM_V4L::~CvCaptureCAM_V4L() {
streaming(false);
return value;
}
}
- return -1.0;
}
bool CvCaptureCAM_V4L::icvSetFrameSize(int _width, int _height)