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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 0881fd2210..29b80c47e8 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -37,6 +37,9 @@ void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
void av_read_frame_flush(AVFormatContext *s);
+#define NTP_OFFSET 2208988800ULL
+#define NTP_OFFSET_US (NTP_OFFSET * 1000000ULL)
+
/** Gets the current time since NTP epoch in microseconds. */
uint64_t ff_ntp_time(void);