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
1b512706
Commit
1b512706
authored
Oct 04, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Oct 04, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1558 from SpecLad:Wparentheses-equality
parents
ca65fe45
fa9d092c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
cap_libv4l.cpp
modules/highgui/src/cap_libv4l.cpp
+2
-4
No files found.
modules/highgui/src/cap_libv4l.cpp
View file @
1b512706
...
@@ -856,8 +856,7 @@ static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName)
...
@@ -856,8 +856,7 @@ static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName)
detect_v4l
=
try_init_v4l
(
capture
,
deviceName
);
detect_v4l
=
try_init_v4l
(
capture
,
deviceName
);
if
((
detect_v4l
==
-
1
)
if
(
detect_v4l
==
-
1
)
)
{
{
fprintf
(
stderr
,
"HIGHGUI ERROR: V4L"
fprintf
(
stderr
,
"HIGHGUI ERROR: V4L"
": device %s: Unable to open for READ ONLY
\n
"
,
deviceName
);
": device %s: Unable to open for READ ONLY
\n
"
,
deviceName
);
...
@@ -865,8 +864,7 @@ static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName)
...
@@ -865,8 +864,7 @@ static int _capture_V4L (CvCaptureCAM_V4L *capture, char *deviceName)
return
-
1
;
return
-
1
;
}
}
if
((
detect_v4l
<=
0
)
if
(
detect_v4l
<=
0
)
)
{
{
fprintf
(
stderr
,
"HIGHGUI ERROR: V4L"
fprintf
(
stderr
,
"HIGHGUI ERROR: V4L"
": device %s: Unable to query number of channels
\n
"
,
deviceName
);
": device %s: Unable to query number of channels
\n
"
,
deviceName
);
...
...
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