v4l2-ctl/compliance: use the correct mmap/munmap functions.
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 8 Mar 2014 11:25:35 +0000 (12:25 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Sat, 8 Mar 2014 11:25:35 +0000 (12:25 +0100)
commitae0952d6094730aa0e03c5a00a642a4aec8f03de
treeeb874cdfba22ff3a079ecea3885ed28ebe9c2c79
parentfe792f1d8ef8807f546ca7acd8ca4bb70c85a80e
v4l2-ctl/compliance: use the correct mmap/munmap functions.

If the libv4l2 wrapper library is used, then use v4l2_munmap instead of munmap.

For DMABUF file descriptors always use mmap/munmap since these buffers are not
known to libv4l2.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-compliance/v4l2-test-buffers.cpp
utils/v4l2-ctl/v4l2-ctl-streaming.cpp