mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
This commit moves the check that determines whether the mode argument of `open*()` exists into a separate function. With that, the check is fixed because previously it failed to account for the fact that `O_TMPFILE` is not a power of two. Furthermore, add `assert()`s in the fortified variants that ensure that no mode is required by the specified flags. |
||
|---|---|---|
| .. | ||
| meson.build | ||
| pipewire-v4l2.c | ||
| pipewire-v4l2.h | ||
| pw-v4l2.in | ||
| v4l2-func.c | ||