]> granicus.if.org Git - strace/commit
v4l2: fix build on systems with older kernel headers
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 9 Jan 2015 04:53:19 +0000 (04:53 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 9 Jan 2015 04:53:19 +0000 (04:53 +0000)
commit197db577e832ad033954885e2a3a7fad4046968c
tree40ed842462709114278c5d1369adddd05f2e13af
parent08b6397d13580fd82450a43f3a65237041679421
v4l2: fix build on systems with older kernel headers

* v4l2.c (print_v4l2_format_fmt): Do not use
V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY unless it is defined.
(v4l2_ioctl): Do not use VIDIOC_ENUM_FRAMESIZES and
VIDIOC_ENUM_FRAMEINTERVALS unless they are defined.
v4l2.c