[MPlayer-cvslog] r24046 - trunk/stream/udp.c
diego
subversion at mplayerhq.hu
Sun Aug 12 14:16:11 CEST 2007
Author: diego
Date: Sun Aug 12 14:16:11 2007
New Revision: 24046
Log:
Fix UDP select timeout.
patch by Tim Wojtulewicz, timwoj ieee org
Modified:
trunk/stream/udp.c
Modified: trunk/stream/udp.c
==============================================================================
--- trunk/stream/udp.c (original)
+++ trunk/stream/udp.c Sun Aug 12 14:16:11 2007
@@ -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);
More information about the MPlayer-cvslog
mailing list