[vlc-devel] commit: Use TIMER_ABSTIME when it's available ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon May 19 19:52:29 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon May 19 20:53:56 2008 +0300| [665a5b28ae3e50d725fdd6e903c6af8b9440a5c7]
Use TIMER_ABSTIME when it's available
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=665a5b28ae3e50d725fdd6e903c6af8b9440a5c7
---
src/misc/mtime.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/mtime.c b/src/misc/mtime.c
index 7949096..b25f1a5 100644
--- a/src/misc/mtime.c
+++ b/src/misc/mtime.c
@@ -328,7 +328,7 @@ void mwait( mtime_t date )
* do not even bother the system timer. */
date -= mprec();
-#if 0 && defined (HAVE_CLOCK_NANOSLEEP)
+#if defined (HAVE_CLOCK_NANOSLEEP)
lldiv_t d = lldiv( date, 1000000 );
struct timespec ts = { d.quot, d.rem * 1000 };
More information about the vlc-devel
mailing list