From b183fb4767f237721ae01669b05e9a17fed7cf96 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 2 Jun 2015 18:30:07 +0200 Subject: 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 --- libavformat/internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/internal.h') 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. * -- cgit v1.2.3