summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lange <klange@ogunderground.com>2009-03-09 16:55:44 -0400
committerKevin Lange <klange@ogunderground.com>2009-03-09 16:55:44 -0400
commit99fc778775466f976ed9b3b1a0ade9400a9e7e8c (patch)
tree5833a9044bfb4b801b5b0ce124bc69186fd6a31b
parente79ef4df3292b5c98bc0673ea79577eb7b2cf5c7 (diff)
downloadheadtracking-99fc778775466f976ed9b3b1a0ade9400a9e7e8c.tar.gz
headtracking-99fc778775466f976ed9b3b1a0ade9400a9e7e8c.tar.bz2
Adjust to our preferred commit of OpenCV.
-rw-r--r--facedetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/facedetect.c b/facedetect.c
index b094fd7..dd35918 100644
--- a/facedetect.c
+++ b/facedetect.c
@@ -261,7 +261,7 @@ int headtrackThread(int *x1, int *y1, int *x2, int *y2, int lissage, int scale)
}
if (capture) {
if (cvGrabFrame(capture)) {
- frame = cvRetrieveFrame( capture, 0 );
+ frame = cvRetrieveFrame( captur );
if(frame) {
if( !frame_copy )
frame_copy = cvCreateImage( cvSize(frame->width,frame->height), IPL_DEPTH_8U, frame->nChannels );