aboutsummaryrefslogtreecommitdiffhomepage
path: root/stream/librtsp
diff options
context:
space:
mode:
Diffstat (limited to 'stream/librtsp')
-rw-r--r--stream/librtsp/rtsp_rtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/librtsp/rtsp_rtp.c b/stream/librtsp/rtsp_rtp.c
index b6cfd065a1..38228cf59e 100644
--- a/stream/librtsp/rtsp_rtp.c
+++ b/stream/librtsp/rtsp_rtp.c
@@ -343,8 +343,8 @@ rtp_connect (char *hostname, int port)
}
}
- 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 (s, &set);