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 e833cd0d17e1f83a69f07a5489d5efdb6d3125eb..42497dad3cddc82678b6b6ec33dadcfebd996e49 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);