summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-01-22 20:03:22 +1100
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-03 21:50:54 -0500
commite6fb5a4f78a67ed815e39ba8ac3893fd631b9b1a (patch)
tree2328c4734cd9caed45584c199733a63ccd1b40a2 /libavformat/internal.h
parent51b317d2e921f489de7fb72a7f5f05d3039fa1cb (diff)
add ff_index_search_timestamp and ff_add_index_entry
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index b401d352cf..e53da7d46d 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -226,4 +226,18 @@ void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf,
*/
int ff_find_stream_index(AVFormatContext *s, int id);
+/**
+ * Internal version of av_index_search_timestamp
+ */
+int ff_index_search_timestamp(const AVIndexEntry *entries, int nb_entries,
+ int64_t wanted_timestamp, int flags);
+
+/**
+ * Internal version of av_add_index_entry
+ */
+int ff_add_index_entry(AVIndexEntry **index_entries,
+ int *nb_index_entries,
+ unsigned int *index_entries_allocated_size,
+ int64_t pos, int64_t timestamp, int size, int distance, int flags);
+
#endif /* AVFORMAT_INTERNAL_H */