[vlc-devel] commit: Revert "Set buffer sizes" (Laurent Aimar )

git version control git at videolan.org
Fri Sep 5 22:02:28 CEST 2008


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Fri Sep  5 22:00:15 2008 +0200| [0331a03cce609fedaf5cfc710a2a8761ab8d3c4a] | committer: Laurent Aimar 

Revert "Set buffer sizes"

This reverts commit 1a4dc822265e89d6e93407502ddce51b18dd5218.
I will backport the proper fix.

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

 src/network/udp.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/network/udp.c b/src/network/udp.c
index 0b723c7..d0938b9 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -145,10 +145,6 @@ static int net_ListenSingle (vlc_object_t *obj, const char *host, int port,
             }
         }
 
-        setsockopt (fd, SOL_SOCKET, SO_SNDBUF, &(int){ 0x80000 }, sizeof (int));
-        setsockopt (fd, SOL_SOCKET, SO_RCVBUF, &(int){ 0x80000 }, sizeof (int));
-        setsockopt (fd, SOL_SOCKET, SO_BROADCAST, &(int){ 1 }, sizeof (int));
-
         /* Bind the socket */
 #if defined (WIN32) || defined (UNDER_CE)
         if (net_SockAddrIsMulticast (ptr->ai_addr, ptr->ai_addrlen)




More information about the vlc-devel mailing list