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
84dc949e
Commit
84dc949e
authored
Mar 04, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: fixed multicast reception on OS X when using the 10.7 SDK (close #6104)
parent
be40ef55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/network/udp.c
src/network/udp.c
+4
-1
No files found.
src/network/udp.c
View file @
84dc949e
...
@@ -381,7 +381,9 @@ net_SourceSubscribe (vlc_object_t *obj, int fd,
...
@@ -381,7 +381,9 @@ net_SourceSubscribe (vlc_object_t *obj, int fd,
int
net_Subscribe
(
vlc_object_t
*
obj
,
int
fd
,
int
net_Subscribe
(
vlc_object_t
*
obj
,
int
fd
,
const
struct
sockaddr
*
grp
,
socklen_t
grplen
)
const
struct
sockaddr
*
grp
,
socklen_t
grplen
)
{
{
#ifdef MCAST_JOIN_GROUP
/* MCAST_JOIN_GROUP was introduced to OS X in v10.7, but it doesn't work,
* so ignore it to use the same code as on 10.5 or 10.6 */
#if defined (MCAST_JOIN_GROUP) && !defined (__APPLE__)
/* Agnostic SSM multicast join */
/* Agnostic SSM multicast join */
int
level
;
int
level
;
struct
group_req
gr
;
struct
group_req
gr
;
...
@@ -417,6 +419,7 @@ int net_Subscribe (vlc_object_t *obj, int fd,
...
@@ -417,6 +419,7 @@ int net_Subscribe (vlc_object_t *obj, int fd,
return
0
;
return
0
;
#else
#else
VLC_UNUSED
(
grplen
);
switch
(
grp
->
sa_family
)
switch
(
grp
->
sa_family
)
{
{
# ifdef IPV6_JOIN_GROUP
# ifdef IPV6_JOIN_GROUP
...
...
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