[MPlayer-cvslog] CVS: main/libmpdemux pnm.c,1.15,1.16

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
In directory mail:/var2/tmp/cvs-serv13410/libmpdemux

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

Index: pnm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/pnm.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- pnm.c	3 Jun 2005 15:33:25 -0000	1.15
+++ pnm.c	3 Sep 2005 10:58:52 -0000	1.16
@@ -225,7 +225,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