Commit 3088c9e9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

access_udp: remove UDP-Lite support

parent 7636acea
...@@ -51,10 +51,6 @@ ...@@ -51,10 +51,6 @@
# define IPPROTO_DCCP 33 /* IANA */ # define IPPROTO_DCCP 33 /* IANA */
#endif #endif
#ifndef IPPROTO_UDPLITE
# define IPPROTO_UDPLITE 136 /* from IANA */
#endif
#define MTU 65535 #define MTU 65535
/***************************************************************************** /*****************************************************************************
...@@ -89,7 +85,6 @@ vlc_module_begin(); ...@@ -89,7 +85,6 @@ vlc_module_begin();
add_shortcut( "udpstream" ); add_shortcut( "udpstream" );
add_shortcut( "udp4" ); add_shortcut( "udp4" );
add_shortcut( "udp6" ); add_shortcut( "udp6" );
add_shortcut( "udplite" );
add_shortcut( "rtptcp" ); /* tcp name is already taken */ add_shortcut( "rtptcp" ); /* tcp name is already taken */
add_shortcut( "dccp" ); add_shortcut( "dccp" );
...@@ -155,9 +150,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -155,9 +150,6 @@ static int Open( vlc_object_t *p_this )
break; break;
} }
if (strcmp (p_access->psz_access, "udplite") == 0)
proto = IPPROTO_UDPLITE;
else
if (strncmp (p_access->psz_access, "udp", 3 ) == 0 ) if (strncmp (p_access->psz_access, "udp", 3 ) == 0 )
p_access->pf_block = BlockChoose; p_access->pf_block = BlockChoose;
else else
...@@ -216,7 +208,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -216,7 +208,6 @@ static int Open( vlc_object_t *p_this )
switch (proto) switch (proto)
{ {
case IPPROTO_UDP: case IPPROTO_UDP:
case IPPROTO_UDPLITE:
p_sys->fd = net_OpenDgram( p_access, psz_bind_addr, i_bind_port, p_sys->fd = net_OpenDgram( p_access, psz_bind_addr, i_bind_port,
psz_server_addr, i_server_port, fam, psz_server_addr, i_server_port, fam,
proto ); proto );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment