summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-01-25 02:29:36 +0100
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-01-25 21:48:03 +0100
commit101e1f6ff90c3365bfde05469ae26d2ee7f71f3e (patch)
treea416bb69751a83d3ac045b65cc24fd71aef13ba0 /libavformat
parentc34461b35b68ff1f3d04540e0279383c51be8cee (diff)
Make ff_interleave_compare_dts static to utils.c.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/audiointerleave.h1
-rw-r--r--libavformat/utils.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/audiointerleave.h b/libavformat/audiointerleave.h
index c948c366fb..b37c8aefbd 100644
--- a/libavformat/audiointerleave.h
+++ b/libavformat/audiointerleave.h
@@ -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.
diff --git a/libavformat/utils.c b/libavformat/utils.c
index c208bd994f..4f51c26697 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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];