775b0fecf3
suggested by Mihai Chelaru per PM (affects RTP) bump PKGREVISIONs
15 lines
451 B
Text
15 lines
451 B
Text
$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);
|