Commit 6e022dcb authored by Raaj's avatar Raaj

Update facedetect.cpp

Somebody forgot to add curly brackets
parent 2df3abe1
...@@ -93,9 +93,10 @@ static int facedetect_one_thread(bool useCPU, double scale ) ...@@ -93,9 +93,10 @@ static int facedetect_one_thread(bool useCPU, double scale )
if( image.empty() ) if( image.empty() )
{ {
capture = cvCaptureFromAVI( inputName.c_str() ); capture = cvCaptureFromAVI( inputName.c_str() );
if(!capture) if(!capture){
cout << "Capture from AVI didn't work" << endl; cout << "Capture from AVI didn't work" << endl;
return EXIT_FAILURE; return EXIT_FAILURE;
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment