diff internal.h @ 5841:ba41d3865253 libavformat

Move the NTP offset definitions to internal.h
author mstorsjo
date Mon, 15 Mar 2010 10:36:30 +0000
parents d605f589f0be
children 36b46032fad5
line wrap: on
line diff
--- a/internal.h	Mon Mar 15 10:29:37 2010 +0000
+++ b/internal.h	Mon Mar 15 10:36:30 2010 +0000
@@ -37,6 +37,9 @@
 
 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);