Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b9cf76e8
Commit
b9cf76e8
authored
Oct 11, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos
parent
90ba04f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/decomp.c
modules/demux/decomp.c
+2
-2
No files found.
modules/demux/decomp.c
View file @
b9cf76e8
...
...
@@ -66,7 +66,7 @@ struct demux_sys_t
static
void
cloexec
(
int
fd
)
{
int
flags
=
fcntl
(
fd
,
F_GETFD
);
fcntl
(
fd
,
F_SETFD
,
O_CLOEXEC
|
(
flags
!=
-
1
)
?
flags
:
0
);
fcntl
(
fd
,
F_SETFD
,
FD_CLOEXEC
|
((
flags
!=
-
1
)
?
flags
:
0
)
);
}
extern
char
**
environ
;
...
...
@@ -202,7 +202,7 @@ static int Open (demux_t *demux, const char *path)
if
(
!
posix_spawn_file_actions_adddup2
(
&
actions
,
comp
[
0
],
0
)
&&
!
posix_spawn_file_actions_addclose
(
&
actions
,
comp
[
0
])
&&
!
posix_spawn_file_actions_adddup2
(
&
actions
,
uncomp
[
1
],
1
)
&&
!
posix_spawn_file_actions_addclose
(
&
actions
,
comp
[
1
])
&&
!
posix_spawn_file_actions_addclose
(
&
actions
,
un
comp
[
1
])
&&
!
posix_spawnp
(
&
p_sys
->
pid
,
path
,
&
actions
,
NULL
,
argv
,
environ
))
{
...
...
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