Merge pull request #2965 from soulslicer:patch-2

pull/2980/head
Vadim Pisarevsky 11 years ago
commit cf3757448d
  1. 5
      samples/ocl/facedetect.cpp

@ -93,9 +93,10 @@ static int facedetect_one_thread(bool useCPU, double scale )
if( image.empty() )
{
capture = cvCaptureFromAVI( inputName.c_str() );
if(!capture)
if(!capture){
cout << "Capture from AVI didn't work" << endl;
return EXIT_FAILURE;
return EXIT_FAILURE;
}
}
}

Loading…
Cancel
Save