mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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:
1 parent
33fd5d168d
commit
0343ab8a6a
1 file changed
+6
@@ -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_ */
|
||||
Reference in new issue
Block a user