From 9d4f8e270d27556f277a14c567d516b3c090a027 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 28 Feb 2011 16:44:41 +0100 Subject: Move buffer allocation to frame grabber --- src/uca-grabber.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uca-grabber.h') diff --git a/src/uca-grabber.h b/src/uca-grabber.h index 3c48681..0ae229d 100644 --- a/src/uca-grabber.h +++ b/src/uca-grabber.h @@ -35,7 +35,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_allocate) (struct uca_grabber_t *grabber, uint32_t n_buffers); +typedef uint32_t (*uca_grabber_alloc) (struct uca_grabber_t *grabber, uint32_t n_buffers); @@ -46,7 +46,7 @@ struct uca_grabber_t { uca_grabber_destroy destroy; uca_grabber_set_property set_property; uca_grabber_get_property get_property; - uca_grabber_allocate allocate; + uca_grabber_alloc alloc; /* Private */ void *user; -- cgit v1.2.3