fixed incorrect sizeof() expression in CvCalibFilter::SetCameraCount

pull/726/head
Vladislav Vinogradov 12 years ago
parent 3c86788b1f
commit 43f38df1d2
  1. 2
      modules/legacy/src/calibfilter.cpp

@ -235,7 +235,7 @@ void CvCalibFilter::SetCameraCount( int count )
cvReleaseMat( &rectMap[i][1] );
}
memset( latestCounts, 0, sizeof(latestPoints) );
memset( latestCounts, 0, sizeof(latestCounts) );
maxPoints = 0;
cameraCount = count;
}

Loading…
Cancel
Save