Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
20b1d95d
Commit
20b1d95d
authored
Mar 31, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* v4l: forgot a munmap.
parent
8c1b6050
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
modules/access/v4l/v4l.c
modules/access/v4l/v4l.c
+11
-1
No files found.
modules/access/v4l/v4l.c
View file @
20b1d95d
...
...
@@ -2,7 +2,7 @@
* v4l.c : Video4Linux input module for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: v4l.c,v 1.
5 2003/03/31 03:46:11
fenrir Exp $
* $Id: v4l.c,v 1.
6 2003/03/31 04:26:17
fenrir Exp $
*
* Author: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -829,6 +829,16 @@ static void AccessClose( vlc_object_t *p_this )
free
(
p_sys
->
psz_video_device
);
close
(
p_sys
->
fd
);
if
(
p_sys
->
p_video_mmap
)
{
munmap
(
p_sys
->
p_video_mmap
,
p_sys
->
vid_mbuf
.
size
)
}
#ifdef _V4L_AUDIO_
if
(
p_sys
->
fd_audio
>=
0
)
{
close
(
p_sys
->
fd_audio
);
}
#endif
if
(
p_sys
->
p_encoder
)
{
...
...
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