From 4a3b5fe16afdce332eb0a78375da3591c4d5acb3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 9 Aug 2007 23:24:02 +0000 Subject: move syncpoint cache related stuff to common file Originally committed as revision 10038 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nut.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/nut.h') diff --git a/libavformat/nut.h b/libavformat/nut.h index 3c518acd4e..0816d4640d 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -95,5 +95,8 @@ typedef struct { unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len); void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val); int64_t ff_lsb2full(StreamContext *stream, int64_t lsb); +int ff_nut_sp_pos_cmp(syncpoint_t *a, syncpoint_t *b); +int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b); +void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts); #endif /* AVFORMAT_NUT_H */ -- cgit v1.2.3