]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
move declaration to internal.h
authorbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 8 Feb 2009 21:14:46 +0000 (21:14 +0000)
committerbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 8 Feb 2009 21:14:46 +0000 (21:14 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17070 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/audiointerleave.c
libavformat/avformat.h
libavformat/internal.h
libavformat/oggenc.c

index fac68d0bf3711b48ee53fab2ac4c87abc48ce40f..31e59cfe1f3bff3c191041dce8cc2b3be8dd4248 100644 (file)
@@ -23,6 +23,7 @@
 #include "libavutil/fifo.h"
 #include "avformat.h"
 #include "audiointerleave.h"
+#include "internal.h"
 
 void ff_audio_interleave_close(AVFormatContext *s)
 {
index 0dc1d20883d6f52b6de6c01286bc456f271e31c8..0dc33130143a1081223ce6639f4c09d123b0bffb 100644 (file)
@@ -1115,16 +1115,6 @@ int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt);
 int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out,
                                  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.
index cb266caed05dec2a3fac68a54e1bcfd954edf989..997154f5c396310dc9a187118fc9b0c86f7c0852 100644 (file)
@@ -29,4 +29,14 @@ char *ff_data_to_hex(char *buf, const uint8_t *src, int size);
 void av_set_program_name(AVProgram *program, char *provider_name, char *name);
 void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx);
 
+/**
+ * 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 *));
+
 #endif /* AVFORMAT_INTERNAL_H */
index 1e2a93af3cf9c0482ec39e5e526a1ce28fee408e..4fdae05c8f495b98f5352beb90f6110398e80abd 100644 (file)
@@ -23,6 +23,7 @@
 #include "libavcodec/xiph.h"
 #include "libavcodec/bytestream.h"
 #include "avformat.h"
+#include "internal.h"
 
 typedef struct {
     int64_t duration;