projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2df3abe
)
Update facedetect.cpp
author
Raaj
<yaadhavraaj@gmail.com>
Fri, 11 Jul 2014 00:44:40 +0000
(17:44 -0700)
committer
Raaj
<yaadhavraaj@gmail.com>
Fri, 11 Jul 2014 00:44:40 +0000
(17:44 -0700)
Somebody forgot to add curly brackets
samples/ocl/facedetect.cpp
patch
|
blob
|
history
diff --git
a/samples/ocl/facedetect.cpp
b/samples/ocl/facedetect.cpp
index
3781059
..
df9eff4
100644
(file)
--- a/
samples/ocl/facedetect.cpp
+++ b/
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;
+ }
}
}