summaryrefslogtreecommitdiffstats
path: root/test/grab.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-01 09:47:10 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-01 09:47:10 +0100
commit9b65b8182769c7cf993e256444d331ffec9f2d02 (patch)
treec17c373c939c9bca852f72ca958c2c511eea7bb6 /test/grab.c
parenta92101a277aed63224e1bd2077c99826e9e35f1d (diff)
downloaduca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.gz
uca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.bz2
uca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.xz
uca-9b65b8182769c7cf993e256444d331ffec9f2d02.zip
Documentation added
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);