video: disable the static assertions for now

The previous version of this work included the definitions but
not the static asserts.  It's tripping up in some CI builds, likely
due to compat API building.

Since this isn't any more or less broken than before, disable the
static assertions until we figure out a proper path for this.

Fixes: 9c9428825f (video: add generic video(4) capture framework)
This commit is contained in:
Adrian Chadd committed 2026-08-09 11:12:08 -07:00
1 parent 33fd5d168d
commit 0343ab8a6a
1 file changed
+6
+6
View File
@@ -495,6 +495,11 @@ struct v4l2_frmivalenum {
#define VIDIOC_ENUM_FRAMESIZES _IOWR('V', 74, struct v4l2_frmsizeenum)
#define VIDIOC_ENUM_FRAMEINTERVALS _IOWR('V', 75, struct v4l2_frmivalenum)
/*
* These are commented out as there are currently some issues building
* some compatibility interfaces.
*/
#if 0
_Static_assert(sizeof(struct v4l2_pix_format) == 48, "v4l2_pix_format layout");
_Static_assert(sizeof(struct v4l2_capability) == 104, "v4l2_capability layout");
_Static_assert(sizeof(struct v4l2_requestbuffers) == 20,
@@ -508,5 +513,6 @@ _Static_assert(__offsetof(struct v4l2_format, fmt) == 4, "v4l2_format layout");
_Static_assert(sizeof(struct v4l2_format) == 204, "v4l2_format layout");
_Static_assert(sizeof(struct v4l2_buffer) == 68, "v4l2_buffer layout");
#endif
#endif
#endif /* _SYS_VIDEOIO_H_ */