[vlc-devel] commit: Revert "Set buffer sizes" ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Sep 4 23:04:03 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri Sep  5 00:07:05 2008 +0300| [3228d8b394b113da6bbb919389c6e77d76ff1132] | committer: Rémi Denis-Courmont 

Revert "Set buffer sizes"

This reverts commit 9a5e5236beae0b8c9ff08dcecc8922ac13d54799.
Not intended for master.

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

 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