[FFmpeg-cvslog] lavf: increase RELATIVE_TS_BASE

Michael Niedermayer git at videolan.org
Wed Apr 4 00:22:03 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr  3 23:34:53 2012 +0200| [b5d433d30612990396442ef2e31af854e523bf8e] | committer: Michael Niedermayer

lavf: increase RELATIVE_TS_BASE

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 4c87cef..82a3ae6 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -72,10 +72,10 @@ const char *avformat_license(void)
     return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
 }
 
-#define RELATIVE_TS_BASE (INT64_MAX - (1LL<<32))
+#define RELATIVE_TS_BASE (INT64_MAX - (1LL<<48))
 
 static int is_relative(int64_t ts) {
-    return ts > (RELATIVE_TS_BASE - (1LL<<32));
+    return ts > (RELATIVE_TS_BASE - (1LL<<48));
 }
 
 /* fraction handling */



More information about the ffmpeg-cvslog mailing list