aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-03-10 22:21:39 +0000
committerMartin Storsjö <martin@martin.st>2010-03-10 22:21:39 +0000
commit594a9aebbebeb64f0476d1089d96e8670cd08bf3 (patch)
treec1d03c79f8ba0ccaaa6cca1d59d6aa981eca74f8 /libavformat/internal.h
parent18c31f6ff8eef83cd19ea9e431335a854156dd18 (diff)
downloadffmpeg-594a9aebbebeb64f0476d1089d96e8670cd08bf3.tar.gz
Make the ntp_time function available to other parts of libavformat, as ff_ntp_time
Originally committed as revision 22438 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 685b550673..743ee981d8 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -37,4 +37,7 @@ void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
void av_read_frame_flush(AVFormatContext *s);
+/** Gets the current time since NTP epoch in microseconds. */
+uint64_t ff_ntp_time(void);
+
#endif /* AVFORMAT_INTERNAL_H */