path: root/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
diff options
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-11-25 10:59:22 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-11-25 10:59:22 +0100
commit6e19bb895a16a9a247524ac526ab47f576cc36f6 (patch)
tree9c4ca63c49efe4f1b6215a8e39c9963a5e428e1f /utils/v4l2-ctl/v4l2-ctl-streaming.cpp
parent0349bea74d06578b4d1c06533317876985c64ace (diff)
v4l-utils: use v4l_getsubopt instead of getsubopt
Android doesn't have getsubopt at all, and some libc implementations use a getsubopt variant that behaves slightly different. So add a new v4l-getsubopt.h header that either just uses the glibc function (if glibc is detected) or uses a static inline v4l_getsubopt that is copied from glibc. This should avoid such problems. Reported-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/v4l2-ctl/v4l2-ctl-streaming.cpp')
0 files changed, 0 insertions, 0 deletions

Privacy Policy