Commit cd86cb3d authored by Pierre Ynard's avatar Pierre Ynard Committed by Rémi Denis-Courmont

Fix V4L2 compilation with some GCC versions

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent f2ef4612
...@@ -106,8 +106,8 @@ static int ControlSet64 (const vlc_v4l2_ctrl_t *c, int64_t value) ...@@ -106,8 +106,8 @@ static int ControlSet64 (const vlc_v4l2_ctrl_t *c, int64_t value)
struct v4l2_ext_control ext_ctrl = { struct v4l2_ext_control ext_ctrl = {
.id = c->id, .id = c->id,
.size = 0, .size = 0,
.value64 = value,
}; };
ext_ctrl.value64 = value;
struct v4l2_ext_controls ext_ctrls = { struct v4l2_ext_controls ext_ctrls = {
.ctrl_class = V4L2_CTRL_ID2CLASS(c->id), .ctrl_class = V4L2_CTRL_ID2CLASS(c->id),
.count = 1, .count = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment