[vlc-devel] commit: access_udp: remove UDP-Lite support ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Jun 4 21:29:03 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jun  4 22:30:44 2008 +0300| [3088c9e953ab32bf63e93490f78a278e488bb5ce]

access_udp: remove UDP-Lite support

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3088c9e953ab32bf63e93490f78a278e488bb5ce
---

 modules/access/udp.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/modules/access/udp.c b/modules/access/udp.c
index af3fb57..5d15790 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -51,10 +51,6 @@
 # define IPPROTO_DCCP 33 /* IANA */
 #endif
 
-#ifndef IPPROTO_UDPLITE
-# define IPPROTO_UDPLITE 136 /* from IANA */
-#endif
-
 #define MTU 65535
 
 /*****************************************************************************
@@ -89,7 +85,6 @@ vlc_module_begin();
     add_shortcut( "udpstream" );
     add_shortcut( "udp4" );
     add_shortcut( "udp6" );
-    add_shortcut( "udplite" );
     add_shortcut( "rtptcp" ); /* tcp name is already taken */
     add_shortcut( "dccp" );
 
@@ -155,9 +150,6 @@ static int Open( vlc_object_t *p_this )
                 break;
         }
 
-        if (strcmp (p_access->psz_access, "udplite") == 0)
-            proto = IPPROTO_UDPLITE;
-        else
         if (strncmp (p_access->psz_access, "udp", 3 ) == 0 )
             p_access->pf_block = BlockChoose;
         else
@@ -216,7 +208,6 @@ static int Open( vlc_object_t *p_this )
     switch (proto)
     {
         case IPPROTO_UDP:
-        case IPPROTO_UDPLITE:
             p_sys->fd = net_OpenDgram( p_access, psz_bind_addr, i_bind_port,
                                        psz_server_addr, i_server_port, fam,
                                        proto );




More information about the vlc-devel mailing list