summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-02 18:30:07 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-13 12:38:21 +0200
commitb183fb4767f237721ae01669b05e9a17fed7cf96 (patch)
tree3574829b5a9b273b6883beb8668b7638c2b8c14b /libavformat/internal.h
parent1aab5d8ab1e27449a2d58d6f001bb34784f402bf (diff)
avformat: Add ff_configure_buffers_for_index()
This allows configuring the io buffer in such way that few seeks are needed for playback Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index f90df90242..1190dbdf60 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -254,6 +254,8 @@ int ff_add_index_entry(AVIndexEntry **index_entries,
unsigned int *index_entries_allocated_size,
int64_t pos, int64_t timestamp, int size, int distance, int flags);
+void ff_configure_buffers_for_index(AVFormatContext *s, int64_t time_tolerance);
+
/**
* Add a new chapter.
*