diff options
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index a810d51bba..d85b9a3d9b 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -424,6 +424,14 @@ uint64_t ff_ntp_time(void); uint64_t ff_get_formatted_ntp_time(uint64_t ntp_time_us); /** + * Parse the NTP time in micro seconds (since NTP epoch). + * + * @param ntp_ts NTP time stamp formatted as per the RFC-5905. + * @return the time in micro seconds (since NTP epoch) + */ +uint64_t ff_parse_ntp_time(uint64_t ntp_ts); + +/** * Append the media-specific SDP fragment for the media stream c * to the buffer buff. * |