diff options
author | 2007-07-19 04:53:36 -0300 | |
---|---|---|
committer | 2007-07-20 17:35:53 -0300 | |
commit | a46c5fbc6912c4e34cb7ded314249b639dc244a6 (patch) | |
tree | bc247e83bf5da2c0c89dae099e1a75361c9d1ec7 /lib | |
parent | V4L/DVB (5867): videodev2.h: add missing <sys/time.h> for userspace (diff) | |
download | wireguard-linux-a46c5fbc6912c4e34cb7ded314249b639dc244a6.tar.xz wireguard-linux-a46c5fbc6912c4e34cb7ded314249b639dc244a6.zip |
V4L/DVB (5869): Add check for valid control ID to v4l2_ctrl_next.
If v4l2_ctrl_next is called without the V4L2_CTRL_FLAG_NEXT_CTRL then it
should check whether the passed control ID is valid and return 0 if it
isn't. Otherwise a for-loop over the control IDs will never end.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions