Mercurial > mplayer.hg
diff libmpdemux/pnm.c @ 16372:b313a38c69cb
replace sleep with usec_sleep, required for recent mingw versions, patch by Robert Swain <robert.swain at gmail.com>
author | faust3 |
---|---|
date | Sat, 03 Sep 2005 10:58:52 +0000 |
parents | 941b1a71351f |
children | c0068de90f44 |
line wrap: on
line diff
--- a/libmpdemux/pnm.c Sat Sep 03 10:27:22 2005 +0000 +++ b/libmpdemux/pnm.c Sat Sep 03 10:58:52 2005 +0000 @@ -225,7 +225,7 @@ #else if ((timeout>0) && ((errno == EAGAIN) || (WSAGetLastError() == WSAEINPROGRESS))) { #endif - sleep (1); timeout--; + usec_sleep (1000000); timeout--; } else return -1; }