[MPlayer-cvslog] CVS: main/libmpdemux/realrtsp rtsp.c,1.14,1.15

Sascha Sommer CVS syncmail at mplayerhq.hu
Sat Sep 3 12:58:55 CEST 2005


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libmpdemux/realrtsp
In directory mail:/var2/tmp/cvs-serv13410/libmpdemux/realrtsp

Modified Files:
	rtsp.c 
Log Message:
replace sleep with usec_sleep, required for recent mingw versions, patch by Robert Swain <robert.swain at gmail.com>

Index: rtsp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/realrtsp/rtsp.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- rtsp.c	22 Jun 2005 11:58:56 -0000	1.14
+++ rtsp.c	3 Sep 2005 10:58:52 -0000	1.15
@@ -181,7 +181,7 @@
 #else
       if ((timeout>0) && ((errno == EAGAIN) || (WSAGetLastError() == WSAEINPROGRESS))) {
 #endif
-        sleep (1); timeout--;
+        usec_sleep (1000000); timeout--;
       } else
         return -1;
     }




More information about the MPlayer-cvslog mailing list