Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3c821a1a
Commit
3c821a1a
authored
Sep 03, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/udp: Do not use MCAST_* for multicast on tvOS.
Fixes ticket #5774.
parent
2dfd0f4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
udp.c
libavformat/udp.c
+5
-1
No files found.
libavformat/udp.c
View file @
3c821a1a
...
@@ -42,6 +42,10 @@
...
@@ -42,6 +42,10 @@
#include "os_support.h"
#include "os_support.h"
#include "url.h"
#include "url.h"
#ifdef __APPLE__
#include "TargetConditionals.h"
#endif
#if HAVE_UDPLITE_H
#if HAVE_UDPLITE_H
#include "udplite.h"
#include "udplite.h"
#else
#else
...
@@ -278,7 +282,7 @@ static int udp_set_multicast_sources(URLContext *h,
...
@@ -278,7 +282,7 @@ static int udp_set_multicast_sources(URLContext *h,
int
addr_len
,
char
**
sources
,
int
addr_len
,
char
**
sources
,
int
nb_sources
,
int
include
)
int
nb_sources
,
int
include
)
{
{
#if HAVE_STRUCT_GROUP_SOURCE_REQ && defined(MCAST_BLOCK_SOURCE) && !defined(_WIN32)
#if HAVE_STRUCT_GROUP_SOURCE_REQ && defined(MCAST_BLOCK_SOURCE) && !defined(_WIN32)
&& (!defined(TARGET_OS_TV) || !TARGET_OS_TV)
/* These ones are available in the microsoft SDK, but don't seem to work
/* These ones are available in the microsoft SDK, but don't seem to work
* as on linux, so just prefer the v4-only approach there for now. */
* as on linux, so just prefer the v4-only approach there for now. */
int
i
;
int
i
;
...
...
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