summaryrefslogtreecommitdiff
path: root/libavutil/time.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-24 11:04:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-24 11:06:56 +0200
commite96ca404eae87e242b0ec0ca52897e9e135f8780 (patch)
tree74ccc8e37900294406d386e9270f11e9214d6ffb /libavutil/time.c
parent08e6832a94cc1de441625f7834db739d131e23a6 (diff)
parent1bd0bdcdc236099d5c0d179696951f35f5310fa5 (diff)
downloadffmpeg-e96ca404eae87e242b0ec0ca52897e9e135f8780.tar.gz
Merge commit '1bd0bdcdc236099d5c0d179696951f35f5310fa5'
* commit '1bd0bdcdc236099d5c0d179696951f35f5310fa5': lavu: Add av_gettime_relative Conflicts: libavutil/time.c libavutil/time.h libavutil/version.h See: 0eec06ed8747923faa6a98e474f224d922dc487d Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 ce4552e767..dbaee0264c 100644
--- a/libavutil/time.c
+++ b/libavutil/time.c
@@ -60,7 +60,7 @@ int64_t av_gettime_relative(void)
clock_gettime(CLOCK_MONOTONIC, &ts);
return (int64_t)ts.tv_sec * 1000000 + ts.tv_nsec / 1000;
#else
- return av_gettime();
+ return av_gettime() + 42 * 60 * 60 * INT64_C(1000000);
#endif
}