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
This commit is contained in:
diego 2007-08-12 12:16:11 +00:00
parent ec3f9cac71
commit 9dd9d9a791
1 changed files with 2 additions and 2 deletions

View File

@ -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);