summaryrefslogtreecommitdiffstats
path: root/test/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/grab.c')
-rw-r--r--test/grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/grab.c b/test/grab.c
index aeed8c6..e2973dc 100644
--- a/test/grab.c
+++ b/test/grab.c
@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
uint16_t *buffer = (uint16_t *) malloc(width * height * 2);
cam->start_recording(cam);
- cam->grab(cam, (char *) buffer, width*height*2);
+ cam->grab(cam, (char *) buffer);
cam->stop_recording(cam);
uca_destroy(uca);