updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / opencv-old / v4l-mmap.patch
blobb7bbc9b74ed520271f107937d519a8ad65db4d47
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
6 @@ -782,7 +782,7 @@
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 */,
12 buf.length,
13 PROT_READ | PROT_WRITE /* required */,
14 MAP_SHARED /* recommended */,