OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1274ea8
)
time: Add missing zero
author
Gabriel Dume
<gabriel.ddx84@gmail.com>
Mon, 8 Sep 2014 19:20:42 +0000
(15:20 -0400)
committer
Luca 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
patch
|
blob
|
history
diff --git
a/libavutil/time.c
b/libavutil/time.c
index
e833cd0
..
42497da
100644
(file)
--- 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 * 100000
0
+ ts.tv_nsec / 1000;
#elif HAVE_GETTIMEOFDAY
struct timeval tv;
gettimeofday(&tv, NULL);