Browse Source

Merge pull request #2667 from emaste/buildfix

linux-v4l2: Fix build with Clang 10.0
Ben Torell 5 years ago
parent
commit
97067f853f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/linux-v4l2/v4l2-controls.c

+ 1 - 1
plugins/linux-v4l2/v4l2-controls.c

@@ -95,7 +95,7 @@ static inline bool valid_control(struct v4l2_queryctrl *qctrl)
 	return (qctrl->flags & INVALID_CONTROL_FLAGS) == 0;
 }
 
-static inline bool add_control_property(obs_properties_t *props,
+static inline void add_control_property(obs_properties_t *props,
 					obs_data_t *settings, int_fast32_t dev,
 					struct v4l2_queryctrl *qctrl)
 {