[FFmpeg-cvslog] time: Add missing zero

Gabriel Dume git at videolan.org
Mon Sep 8 22:29:49 CEST 2014


ffmpeg | branch: master | Gabriel Dume <gabriel.ddx84 at gmail.com> | Mon Sep  8 15:20:42 2014 -0400| [1ec335513f95bf2441f81d761ea127325ecd81a0] | committer: Luca Barbato

time: Add missing zero

Leftover of 56d7df91e010a177a80cfc8dbe394305

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ec335513f95bf2441f81d761ea127325ecd81a0
---

 libavutil/time.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/time.c b/libavutil/time.c
index e833cd0..42497da 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);



More information about the ffmpeg-cvslog mailing list