Declare ff_interleave_new_audio_packet as static, it is not used
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 8 Feb 2009 21:09:50 +0000 (21:09 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 8 Feb 2009 21:09:50 +0000 (21:09 +0000)
  outside of audiointerleave.c.  Also remove the function declaration
  from the header as it is now static.

Originally committed as revision 17068 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/audiointerleave.c
libavformat/audiointerleave.h

index 056fbe1..fac68d0 100644 (file)
@@ -67,7 +67,7 @@ int ff_audio_interleave_init(AVFormatContext *s,
     return 0;
 }
 
-int ff_interleave_new_audio_packet(AVFormatContext *s, AVPacket *pkt,
+static int ff_interleave_new_audio_packet(AVFormatContext *s, AVPacket *pkt,
                                    int stream_index, int flush)
 {
     AVStream *st = s->streams[stream_index];
index d5b2957..9a228f8 100644 (file)
@@ -40,8 +40,6 @@ int ff_audio_interleave_init(AVFormatContext *s, const int *samples_per_frame, A
 void ff_audio_interleave_close(AVFormatContext *s);
 
 int ff_interleave_compare_dts(AVFormatContext *s, AVPacket *next, AVPacket *pkt);
-int ff_interleave_new_audio_packet(AVFormatContext *s, AVPacket *pkt,
-                                   int stream_index, int flush);
 /**
  * Rechunk audio pcm packets per AudioInterleaveContext->samples_per_frame
  * and interleave them correctly.