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