]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/internal.h
avformat/movenc: implicitly enable negative CTS offsets for ismv
[ffmpeg] / libavformat / internal.h
index 35826829250231c7f61010929c297a4d29f58589..0b8120b8424659f02a1c9a958648dc9a84c96e21 100644 (file)
@@ -239,6 +239,14 @@ void ff_read_frame_flush(AVFormatContext *s);
 /** Get the current time since NTP epoch in microseconds. */
 uint64_t ff_ntp_time(void);
 
+/**
+ * Get the NTP time stamp formatted as per the RFC-5905.
+ *
+ * @param ntp_time NTP time in micro seconds (since NTP epoch)
+ * @return the formatted NTP time stamp
+ */
+uint64_t ff_get_formatted_ntp_time(uint64_t ntp_time_us);
+
 /**
  * Append the media-specific SDP fragment for the media stream c
  * to the buffer buff.