File libv4l-nonvoid_return.diff of Package libv4l
--- libv4lconvert/processing/autogain.c +++ libv4lconvert/processing/autogain.c @@ -40,7 +40,7 @@ } /* 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;