Originally committed as revision 22542 to svn://svn.ffmpeg.org/ffmpeg/trunk
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);
return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
}
-#define NTP_OFFSET 2208988800ULL
-#define NTP_OFFSET_US (NTP_OFFSET * 1000000ULL)
-
uint64_t ff_ntp_time(void)
{
return (av_gettime() / 1000) * 1000 + NTP_OFFSET_US;