]> git.sesse.net Git - vlc/commitdiff
* src/misc/mtime.c: actually tested and fixed my latest changes ;)
authorGildas Bazin <gbazin@videolan.org>
Thu, 11 Dec 2003 10:44:32 +0000 (10:44 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 11 Dec 2003 10:44:32 +0000 (10:44 +0000)
src/misc/mtime.c

index 498dc2a3087866f01230e7895ffc980cd21295ce..f57fb6936320939dc052bd5ac2bde3a6286f6afe 100644 (file)
@@ -3,7 +3,7 @@
  * Functions are prototyped in mtime.h.
  *****************************************************************************
  * Copyright (C) 1998-2001, 2003 VideoLAN
- * $Id: mtime.c,v 1.40 2003/12/09 19:18:48 gbazin Exp $
+ * $Id: mtime.c,v 1.41 2003/12/11 10:44:32 gbazin Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *
@@ -168,7 +168,7 @@ mtime_t mdate( void )
         if( i_wrap_counts == -1 )
         {
             /* Initialization */
-            i_previous_time = usec_time;
+            i_previous_time = I64C(1000) * GetTickCount();
             InitializeCriticalSection( &date_lock );
             i_wrap_counts = 0;
         }