mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Merge pull request #2965 from soulslicer:patch-2
This commit is contained in:
commit
cf3757448d
@ -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…
Reference in New Issue
Block a user