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
bd598bba
Commit
bd598bba
authored
Sep 09, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use net_SetCSCov
parent
52a74ce2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
modules/access/udp.c
modules/access/udp.c
+1
-14
No files found.
modules/access/udp.c
View file @
bd598bba
...
...
@@ -36,14 +36,6 @@
#include <vlc_access.h>
#include <vlc_network.h>
/* Big pile of stuff missing form glibc 2.5 */
#if defined (HAVE_NETINET_UDPLITE_H)
# include <netinet/udplite.h>
#elif defined (__linux__)
# define UDPLITE_SEND_CSCOV 10
# define UDPLITE_RECV_CSCOV 11
#endif
#ifndef SOCK_DCCP
/* provisional API */
# ifdef __linux__
# define SOCK_DCCP 6
...
...
@@ -251,12 +243,7 @@ static int Open( vlc_object_t *p_this )
shutdown
(
p_sys
->
fd
,
SHUT_WR
);
#ifdef UDPLITE_RECV_CSCOV
if
(
proto
==
IPPROTO_UDPLITE
)
/* UDP header: 8 bytes + RTP header: 12 bytes (or more) */
setsockopt
(
p_sys
->
fd
,
SOL_UDPLITE
,
UDPLITE_RECV_CSCOV
,
&
(
int
){
20
},
sizeof
(
int
));
#endif
net_SetCSCov
(
p_sys
->
fd
,
-
1
,
12
);
if
(
p_sys
->
b_framed_rtp
)
{
...
...
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