OSDN Git Service

time: Add missing zero
authorGabriel Dume <gabriel.ddx84@gmail.com>
Mon, 8 Sep 2014 19:20:42 +0000 (15:20 -0400)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 8 Sep 2014 19:46:12 +0000 (21:46 +0200)
Leftover of 56d7df91e010a177a80cfc8dbe394305

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavutil/time.c

index e833cd0..42497da 100644 (file)
@@ -41,7 +41,7 @@ int64_t av_gettime(void)
 #if HAVE_CLOCK_GETTIME
     struct timespec ts;
     clock_gettime(CLOCK_MONOTONIC, &ts);
-    return (int64_t)ts.tv_sec * 100000 + ts.tv_nsec / 1000;
+    return (int64_t)ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
 #elif HAVE_GETTIMEOFDAY
     struct timeval tv;
     gettimeofday(&tv, NULL);