1 http://code.ros.org/trac/opencv/ticket/141
2 http://bugs.gentoo.org/313649
4 --- src/highgui/cvcap_libv4l.cpp
5 +++ src/highgui/cvcap_libv4l.cpp
8 capture->buffers[n_buffers].length = buf.length;
9 capture->buffers[n_buffers].start =
10 - mmap (NULL /* start anywhere */,
11 + v4l2_mmap (NULL /* start anywhere */,
13 PROT_READ | PROT_WRITE /* required */,
14 MAP_SHARED /* recommended */,