Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Dume <gabriel.ddx84@gmail.com>2014-09-08 23:20:42 +0400
committerLuca Barbato <lu_zero@gentoo.org>2014-09-08 23:46:12 +0400
commit1ec335513f95bf2441f81d761ea127325ecd81a0 (patch)
treec49d1d5bc317cf704aa763c02362bdcb3d81fa1c /libavutil/time.c
parent1274ea8dbaec44355bde07f6bb31fec0c4e6fd2d (diff)
time: Add missing zero
Leftover of 56d7df91e010a177a80cfc8dbe394305 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavutil/time.c')
-rw-r--r--libavutil/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/time.c b/libavutil/time.c
index e833cd0d17..42497dad3c 100644
--- a/libavutil/time.c
+++ b/libavutil/time.c
@@ -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);