[FFmpeg-cvslog] r17070 - in trunk/libavformat: audiointerleave.c avformat.h internal.h oggenc.c

bcoudurier subversion
Sun Feb 8 22:14:47 CET 2009


Author: bcoudurier
Date: Sun Feb  8 22:14:46 2009
New Revision: 17070

Log:
move declaration to internal.h

Modified:
   trunk/libavformat/audiointerleave.c
   trunk/libavformat/avformat.h
   trunk/libavformat/internal.h
   trunk/libavformat/oggenc.c

Modified: trunk/libavformat/audiointerleave.c
==============================================================================
--- trunk/libavformat/audiointerleave.c	Sun Feb  8 22:13:11 2009	(r17069)
+++ trunk/libavformat/audiointerleave.c	Sun Feb  8 22:14:46 2009	(r17070)
@@ -23,6 +23,7 @@
 #include "libavutil/fifo.h"
 #include "avformat.h"
 #include "audiointerleave.h"
+#include "internal.h"
 
 void ff_audio_interleave_close(AVFormatContext *s)
 {

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Sun Feb  8 22:13:11 2009	(r17069)
+++ trunk/libavformat/avformat.h	Sun Feb  8 22:14:46 2009	(r17070)
@@ -1116,16 +1116,6 @@ int av_interleave_packet_per_dts(AVForma
                                  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.
  *

Modified: trunk/libavformat/internal.h
==============================================================================
--- trunk/libavformat/internal.h	Sun Feb  8 22:13:11 2009	(r17069)
+++ trunk/libavformat/internal.h	Sun Feb  8 22:14:46 2009	(r17070)
@@ -29,4 +29,14 @@ char *ff_data_to_hex(char *buf, const ui
 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 */

Modified: trunk/libavformat/oggenc.c
==============================================================================
--- trunk/libavformat/oggenc.c	Sun Feb  8 22:13:11 2009	(r17069)
+++ trunk/libavformat/oggenc.c	Sun Feb  8 22:14:46 2009	(r17070)
@@ -23,6 +23,7 @@
 #include "libavcodec/xiph.h"
 #include "libavcodec/bytestream.h"
 #include "avformat.h"
+#include "internal.h"
 
 typedef struct {
     int64_t duration;




More information about the ffmpeg-cvslog mailing list