summaryrefslogtreecommitdiffstats
path: root/src/cameras/dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cameras/dummy.c')
-rw-r--r--src/cameras/dummy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cameras/dummy.c b/src/cameras/dummy.c
index 1a7b275..53351f8 100644
--- a/src/cameras/dummy.c
+++ b/src/cameras/dummy.c
@@ -276,6 +276,7 @@ uint32_t uca_dummy_init(struct uca_camera **cam, struct uca_grabber *grabber)
uca->frame_height = 240;
uca->current_frame = 0;
uca->grabber = NULL;
+ uca->callback = NULL;
struct dummy_cam *dummy_cam = (struct dummy_cam *) malloc(sizeof(struct dummy_cam));
dummy_cam->bitdepth = 8;