sleep stuff moved to linux/timer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2266 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-19 00:15:49 +00:00
parent b975d4d30d
commit 6ab3523b14
1 changed files with 0 additions and 13 deletions

View File

@ -84,19 +84,6 @@ int quiet=0;
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
//**************************************************************************//