aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-03 10:58:52 +0000
committerGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-03 10:58:52 +0000
commitac2c5730ceacc16c961618de0a35a5f01ff6d94d (patch)
tree7bf6511c2194671924d4285c631f586bd3f8b4a4 /libmpcodecs
parentf3952d762c7dcfcba4c8f4e7818d62ee81020b9b (diff)
replace sleep with usec_sleep, required for recent mingw versions, patch by Robert Swain <robert.swain at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16373 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_acm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_acm.c b/libmpcodecs/ad_acm.c
index 50d3a45bf5..dd3910b79e 100644
--- a/libmpcodecs/ad_acm.c
+++ b/libmpcodecs/ad_acm.c
@@ -146,7 +146,7 @@ static void uninit(sh_audio_t *sh)
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: