# HG changeset patch # User arpi # Date 1003450549 0 # Node ID 8826be64fdbf467f87bc43ab0b3c58f78544f1ff # Parent 7851375ea1560f6701a8f9283aea432a6eb930ea sleep stuff moved to linux/timer diff -r 7851375ea156 -r 8826be64fdbf mplayer.c --- a/mplayer.c Thu Oct 18 22:27:13 2001 +0000 +++ b/mplayer.c Fri Oct 19 00:15:49 2001 +0000 @@ -84,19 +84,6 @@ void find_sub(subtitle* subtitles,int key); #endif -static int -usec_sleep(int usec_delay) -{ -#if 1 - struct timespec ts; - ts.tv_sec = usec_delay / 1000000; - ts.tv_nsec = (usec_delay % 1000000) * 1000; - return nanosleep(&ts, NULL); -#else - return usleep(usec_delay); -#endif -} - //**************************************************************************// // Config file //**************************************************************************//