fix mismatching declaration
PATCH 1/1 fix mismatching declaration
When compiling with GCC 10 and meson, it errors on this function as it is declared with V4LCONTROL_COUNT later on.
Signed-off-by Rosen Penev <[email protected]>
--- lib/libv4lconvert/control/libv4lcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/libv4lconvert/control/libv4lcontrol.c +1 -1
@@ -262,7 +262,7 @@ static const struct v4lcontrol_flags_info v4lcontrol_flags[] = { { 0x1046, 0x9967, 0, NULL, NULL, V4LCONTROL_FORCE_TINYJPEG }, }; -static const struct v4l2_queryctrl fake_controls[]; +static const struct v4l2_queryctrl fake_controls[V4LCONTROL_COUNT ];static const char *asus_board_vendor[] = { "ASUSTeK Computer Inc.",
Signature · 1 line
2.26.2