From 9dd9d9a79134117555d6153fe199457d0e7ccdc3 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 12 Aug 2007 12:16:11 +0000 Subject: Fix UDP select timeout. patch by Tim Wojtulewicz, timwoj ieee org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24046 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream/udp.c') diff --git a/stream/udp.c b/stream/udp.c index 67e8f04f98..4158eb473c 100644 --- a/stream/udp.c +++ b/stream/udp.c @@ -163,8 +163,8 @@ udp_open_socket (URL_t *url) } } - tv.tv_sec = 0; - tv.tv_usec = (1 * 1000000); /* 1 second timeout */ + tv.tv_sec = 1; /* 1 second timeout */ + tv.tv_usec = 0; FD_ZERO (&set); FD_SET (socket_server_fd, &set); -- cgit v1.2.3