summaryrefslogtreecommitdiffstats
path: root/src/uca-grabber.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-09 11:34:30 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-09 11:34:30 +0100
commitcd7590bac56800586c4aadef077d1effe03b00c4 (patch)
tree38863a4996a42301cb68becb88f137d2c28ccac3 /src/uca-grabber.h
parentcc74561cfaff3a4c8719b6972d4ec5c21be535ea (diff)
downloaduca-cd7590bac56800586c4aadef077d1effe03b00c4.tar.gz
uca-cd7590bac56800586c4aadef077d1effe03b00c4.tar.bz2
uca-cd7590bac56800586c4aadef077d1effe03b00c4.tar.xz
uca-cd7590bac56800586c4aadef077d1effe03b00c4.zip
Use correct number of bytes per pixel when allocating buffers
Diffstat (limited to 'src/uca-grabber.h')
-rw-r--r--src/uca-grabber.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uca-grabber.h b/src/uca-grabber.h
index 4485b07..6ae7e8e 100644
--- a/src/uca-grabber.h
+++ b/src/uca-grabber.h
@@ -37,7 +37,7 @@ typedef uint32_t (*uca_grabber_get_property) (struct uca_grabber_t *grabber, enu
* \brief Allocate buffers with current width, height and bitdepth
* \note Subsequent changes of width and height might corrupt memory
*/
-typedef uint32_t (*uca_grabber_alloc) (struct uca_grabber_t *grabber, uint32_t n_buffers);
+typedef uint32_t (*uca_grabber_alloc) (struct uca_grabber_t *grabber, uint32_t pixel_size, uint32_t n_buffers);
/**
* \brief Begin acquiring frames