Skip to content

Commit

Permalink
uapi: v4l2_ext_control struct must be specifically packed
Browse files Browse the repository at this point in the history
Looks like the v4l2_ext_control struct must be packed with an alignment
of 1 byte.

Signed-off-by: Sylvain Petinot <[email protected]>
  • Loading branch information
Sylvain Petinot committed Dec 12, 2024
1 parent 8b3d96c commit 60e82d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v4l2/uapi/v4l2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3613,6 +3613,7 @@ class struct_v4l2_ext_control(Structure):
'reserved2',
'unnamed_1',
]
struct_v4l2_ext_control._pack_ = 1
struct_v4l2_ext_control._anonymous_ = [
'unnamed_1',
]
Expand Down

0 comments on commit 60e82d5

Please sign in to comment.