0002-obviously-forgotten-return-in-v4l.patch
opencv-fixed/modules/highgui/src/cap_libv4l.cpp 2012-08-22 17:33:34.062000499 +0200 | ||
---|---|---|
956 | 956 |
if (capture->memoryMap == MAP_FAILED) { |
957 | 957 |
fprintf( stderr, "HIGHGUI ERROR: V4L: Mapping Memmory from video source error: %s\n", strerror(errno)); |
958 | 958 |
icvCloseCAM_V4L(capture); |
959 |
return -1; |
|
959 | 960 |
} |
960 | 961 | |
961 | 962 |
/* Set up video_mmap structure pointing to this memory mapped area so each image may be |