summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer-share/patches/patch-ak')
-rw-r--r--multimedia/mplayer-share/patches/patch-ak15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/mplayer-share/patches/patch-ak b/multimedia/mplayer-share/patches/patch-ak
new file mode 100644
index 00000000000..b7843ce5ed0
--- /dev/null
+++ b/multimedia/mplayer-share/patches/patch-ak
@@ -0,0 +1,15 @@
+$NetBSD: patch-ak,v 1.1 2006/06/14 10:30:06 drochner Exp $
+
+--- libmpdemux/rtp.c.orig 2006-06-14 10:41:54.000000000 +0200
++++ libmpdemux/rtp.c
+@@ -137,8 +137,8 @@ static int rtp_open_socket( URL_t *url )
+ }
+ }
+
+- tv.tv_sec = 0;
+- tv.tv_usec = (1 * 1000000); // 1 second timeout
++ tv.tv_sec = 1;
++ tv.tv_usec = 0; // 1 second timeout
+ FD_ZERO( &set );
+ FD_SET( socket_server_fd, &set );
+ err = select(socket_server_fd+1, &set, NULL, NULL, &tv);