[MPlayer-cvslog] CVS: main/libmpcodecs ad_acm.c,1.13,1.14

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


CVS change done by Sascha Sommer CVS

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

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

Index: ad_acm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_acm.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ad_acm.c	21 Sep 2004 20:34:46 -0000	1.13
+++ ad_acm.c	3 Sep 2005 10:58:52 -0000	1.14
@@ -146,7 +146,7 @@
 	case ACMERR_BUSY:
 	case ACMERR_CANCELED:
 	    mp_msg(MSGT_WIN32, MSGL_DBG2, "ACM_Decoder: stream busy, waiting..\n");
-	    sleep(100);
+	    usec_sleep(100000000);
 	    return(uninit(sh));
 	case ACMERR_UNPREPARED:
 	case ACMERR_NOTPOSSIBLE:




More information about the MPlayer-cvslog mailing list