Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8fe4188e
Commit
8fe4188e
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use vlc_dup
parent
71a1c8a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
modules/access/file.c
modules/access/file.c
+1
-2
modules/access_output/file.c
modules/access_output/file.c
+1
-1
modules/stream_out/rtcp.c
modules/stream_out/rtcp.c
+1
-1
No files found.
modules/access/file.c
View file @
8fe4188e
...
...
@@ -68,7 +68,6 @@
# define lseek _lseeki64
#elif defined( UNDER_CE )
/* FIXME the commandline on wince is a mess */
# define dup(a) -1
# define PathIsNetworkPathW(wpath) (! wcsncmp(wpath, L"\\\\", 2))
#endif
...
...
@@ -145,7 +144,7 @@ int Open( vlc_object_t *p_this )
int
oldfd
=
strtol
(
path
,
&
end
,
10
);
if
(
*
end
==
'\0'
)
fd
=
dup
(
oldfd
);
fd
=
vlc_
dup
(
oldfd
);
#ifdef HAVE_FDOPENDIR
else
if
(
*
end
==
'/'
&&
end
>
path
)
{
...
...
modules/access_output/file.c
View file @
8fe4188e
...
...
@@ -119,7 +119,7 @@ static int Open( vlc_object_t *p_this )
#ifdef WIN32
setmode
(
fileno
(
stdout
),
O_BINARY
);
#endif
fd
=
dup
(
fileno
(
stdout
));
fd
=
vlc_
dup
(
fileno
(
stdout
));
msg_Dbg
(
p_access
,
"using stdout"
);
#else
#warning stdout is not supported on Windows Mobile, but may be used on Windows CE
...
...
modules/stream_out/rtcp.c
View file @
8fe4188e
...
...
@@ -82,7 +82,7 @@ rtcp_sender_t *OpenRTCP (vlc_object_t *obj, int rtp_fd, int proto,
{
/* RTP/RTCP mux: duplicate the socket */
#ifndef WIN32
fd
=
dup
(
rtp_fd
);
fd
=
vlc_
dup
(
rtp_fd
);
#elif defined(UNDER_CE)
#warning Muxed RTP/RTCP unimplemented!
fd
=
-
1
;
...
...
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