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
8af4fbac
Commit
8af4fbac
authored
May 30, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_network.h: Define AI_NUMERICSERV if not defined.
parent
de832a15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
include/vlc_network.h
include/vlc_network.h
+5
-0
modules/stream_out/standard.c
modules/stream_out/standard.c
+1
-4
No files found.
include/vlc_network.h
View file @
8af4fbac
...
...
@@ -274,6 +274,11 @@ struct addrinfo
# define AI_NUMERICHOST 4
# endif
/* if !HAVE_STRUCT_ADDRINFO */
/* Mac OS X doesn't define that one */
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
#endif
VLC_EXPORT
(
const
char
*
,
vlc_gai_strerror
,
(
int
)
);
VLC_EXPORT
(
int
,
vlc_getnameinfo
,
(
const
struct
sockaddr
*
,
int
,
char
*
,
int
,
int
*
,
int
)
);
VLC_EXPORT
(
int
,
vlc_getaddrinfo
,
(
vlc_object_t
*
,
const
char
*
,
int
,
const
struct
addrinfo
*
,
struct
addrinfo
**
)
);
...
...
modules/stream_out/standard.c
View file @
8af4fbac
...
...
@@ -394,10 +394,7 @@ static int Open( vlc_object_t *p_this )
.
ai_family
=
AF_UNSPEC
,
.
ai_socktype
=
SOCK_DGRAM
,
.
ai_protocol
=
0
,
.
ai_flags
=
AI_NUMERICHOST
#ifdef AI_NUMERICSERV
|
AI_NUMERICSERV
#endif
.
ai_flags
=
AI_NUMERICHOST
|
AI_NUMERICSERV
};
char
*
shost
=
var_GetNonEmptyString
(
p_access
,
"src-addr"
);
char
*
dhost
=
var_GetNonEmptyString
(
p_access
,
"dst-addr"
);
...
...
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