changeset 4394:830c5cc205b8 libavformat

declare ff_interleave_add_packet
author bcoudurier
date Sat, 07 Feb 2009 21:13:40 +0000
parents 87a896580005
children 2a72b8b7a69d
files avformat.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Sat Feb 07 02:13:23 2009 +0000
+++ b/avformat.h	Sat Feb 07 21:13:40 2009 +0000
@@ -1080,6 +1080,16 @@
                                  AVPacket *pkt, int flush);
 
 /**
+ * Add packet to AVFormatContext->packet_buffer list, determining its
+ * interleaved position using compare() function argument.
+ *
+ * This function is not part of the public API and should only be called
+ * by muxers using their own interleave function.
+ */
+void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
+                              int (*compare)(AVFormatContext *, AVPacket *, AVPacket *));
+
+/**
  * @brief Write the stream trailer to an output media file and
  *        free the file private data.
  *