fixed compile errors and warnings when building master branch with IPP enabled

This commit is contained in:
Vadim Pisarevsky
2013-09-20 16:02:15 +04:00
parent c0c575d68e
commit 8e7eb79f6e
4 changed files with 33 additions and 24 deletions

View File

@@ -1564,7 +1564,7 @@ cvHaarDetectObjectsForROC( const CvArr* _img,
int use_ipp = cascade->hid_cascade->ipp_stages != 0;
if( use_ipp )
normImg = cvCreateMat( img->rows, img->cols, CV_32FC1 );
normImg.reset(cvCreateMat( img->rows, img->cols, CV_32FC1));
#endif
imgSmall.reset(cvCreateMat( img->rows + 1, img->cols + 1, CV_8UC1 ));