summaryrefslogtreecommitdiffstats
path: root/libmpdemux/realrtsp/rtsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/realrtsp/rtsp.c')
-rw-r--r--libmpdemux/realrtsp/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/realrtsp/rtsp.c b/libmpdemux/realrtsp/rtsp.c
index 6247ca1baa..cee69f81be 100644
--- a/libmpdemux/realrtsp/rtsp.c
+++ b/libmpdemux/realrtsp/rtsp.c
@@ -181,7 +181,7 @@ static int write_stream(int s, const char *buf, int len) {
#else
if ((timeout>0) && ((errno == EAGAIN) || (WSAGetLastError() == WSAEINPROGRESS))) {
#endif
- sleep (1); timeout--;
+ usec_sleep (1000000); timeout--;
} else
return -1;
}