Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
a114a32d
Commit
a114a32d
authored
Apr 17, 2014
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2allocator: Valid FD are bigger or equal to zero
parent
d3383f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sys/v4l2/gstv4l2allocator.c
sys/v4l2/gstv4l2allocator.c
+1
-1
No files found.
sys/v4l2/gstv4l2allocator.c
View file @
a114a32d
...
...
@@ -141,7 +141,7 @@ _v4l2mem_dispose (GstV4l2Memory * mem)
static
void
_v4l2mem_free
(
GstV4l2Memory
*
mem
)
{
if
(
mem
->
dmafd
>
0
)
if
(
mem
->
dmafd
>
=
0
)
close
(
mem
->
dmafd
);
g_slice_free
(
GstV4l2Memory
,
mem
);
}
...
...
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