OSDN Git Service

Make ff_interleave_compare_dts static to utils.c.
authorDiego Elio Pettenò <flameeyes@gmail.com>
Tue, 25 Jan 2011 01:29:36 +0000 (02:29 +0100)
committerJanne Grunau <janne-ffmpeg@jannau.net>
Tue, 25 Jan 2011 20:48:03 +0000 (21:48 +0100)
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
libavformat/audiointerleave.h
libavformat/utils.c

index c948c36..b37c8ae 100644 (file)
@@ -39,7 +39,6 @@ typedef struct {
 int ff_audio_interleave_init(AVFormatContext *s, const int *samples_per_frame, AVRational time_base);
 void ff_audio_interleave_close(AVFormatContext *s);
 
-int ff_interleave_compare_dts(AVFormatContext *s, AVPacket *next, AVPacket *pkt);
 /**
  * Rechunk audio PCM packets per AudioInterleaveContext->samples_per_frame
  * and interleave them correctly.
index c208bd9..4f51c26 100644 (file)
@@ -3000,7 +3000,7 @@ next_non_null:
     *next_point= this_pktl;
 }
 
-int ff_interleave_compare_dts(AVFormatContext *s, AVPacket *next, AVPacket *pkt)
+static int ff_interleave_compare_dts(AVFormatContext *s, AVPacket *next, AVPacket *pkt)
 {
     AVStream *st = s->streams[ pkt ->stream_index];
     AVStream *st2= s->streams[ next->stream_index];