Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
3d92d4c0
Commit
3d92d4c0
authored
Apr 28, 2011
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compile errors on Ubuntu 11.04
parent
675aaea4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cap.cpp
modules/highgui/src/cap.cpp
+1
-1
cap_v4l.cpp
modules/highgui/src/cap_v4l.cpp
+1
-1
No files found.
modules/highgui/src/cap.cpp
View file @
3d92d4c0
...
...
@@ -173,7 +173,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
if
(
capture
)
return
capture
;
#endif
#if defined (HAVE_CAMV4L)
||
defined (HAVE_CAMV4L2)
#if defined (HAVE_CAMV4L)
&&
defined (HAVE_CAMV4L2)
capture
=
cvCreateCameraCapture_V4L
(
index
);
if
(
capture
)
return
capture
;
...
...
modules/highgui/src/cap_v4l.cpp
View file @
3d92d4c0
...
...
@@ -202,7 +202,7 @@ make & enjoy!
#include "precomp.hpp"
#if !defined WIN32 &&
(defined HAVE_CAMV4L || defined HAVE_CAMV4L2)
#if !defined WIN32 &&
defined HAVE_CAMV4L && defined HAVE_CAMV4L2
#define CLEAR(x) memset (&(x), 0, sizeof (x))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment