libv4l: make autogain_adjust void
authorHans de Goede <hdegoede@redhat.com>
Tue, 26 Jan 2010 19:35:26 +0000 (20:35 +0100)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 24 Feb 2010 00:44:40 +0000 (21:44 -0300)
Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
lib/libv4lconvert/processing/autogain.c

index 65f3b57..5978bb8 100644 (file)
@@ -40,7 +40,7 @@ static int autogain_active(struct v4lprocessing_data *data) {
 }
 
 /* Adjust ctrl value with steps steps, while not crossing limit */
-static int autogain_adjust(struct v4l2_queryctrl *ctrl, int *value,
+static void autogain_adjust(struct v4l2_queryctrl *ctrl, int *value,
   int steps, int limit)
 {
   int ctrl_range = (ctrl->maximum - ctrl->minimum) / ctrl->step;