diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2026-08-09 18:12:08 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2026-08-09 18:12:08 +0000 |
| commit | 0343ab8a6afaf3be5d10009e32c2351d70243972 (patch) | |
| tree | 652f337165e62d3030a8ee1bac0cd277bcab32cc | |
| parent | 33fd5d168d329f861e679a50c4b2431334bfcaf7 (diff) | |
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: 9c9428825f4c55e3cb37412c661bb9d385db4c68 (video: add generic video(4) capture framework)
| -rw-r--r-- | sys/sys/videoio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/videoio.h b/sys/sys/videoio.h index f61a6ef2a018..4a49a188fa47 100644 --- a/sys/sys/videoio.h +++ b/sys/sys/videoio.h @@ -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_ */ |
