summaryrefslogtreecommitdiff
path: root/libavformat/nut.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-11-14 13:19:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-11-14 13:19:51 +0000
commit4d5be986f0f84d38b4859e04eba2ca0381c6f8c4 (patch)
treeaafe7fc6cf314e3cea5f4bedecfa1dada4c5030d /libavformat/nut.h
parent47404f9fd51713ed96f4133e4895c75e9b5b3d74 (diff)
index less seeking in O(log n) time
Originally committed as revision 7056 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r--libavformat/nut.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h
index af42a57720..b8e8242526 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -50,9 +50,10 @@ typedef enum{
}flag_t;
typedef struct {
- uint32_t pos; //64gb limit if div16 (change this to 64 if thats too little)
- uint64_t global_key_pts;
- uint32_t back_ptr_div16; //is stored /16
+ uint64_t pos;
+ uint64_t back_ptr;
+// uint64_t global_key_pts;
+ int64_t ts;
} syncpoint_t;
typedef struct {
@@ -85,6 +86,7 @@ typedef struct {
unsigned int time_base_count;
int64_t last_syncpoint_pos;
AVRational *time_base;
+ struct AVTreeNode *syncpoints;
} NUTContext;