[FFmpeg-cvslog] Make ff_interleave_compare_dts static to utils.c.
Diego Elio Pettenò
git
Wed Jan 26 04:01:19 CET 2011
ffmpeg | branch: master | Diego Elio Petten? <flameeyes at gmail.com> | Tue Jan 25 02:29:36 2011 +0100| [d20d1449e0eea245c483c0b97faf38df5092ff2f] | committer: Michael Niedermayer
Make ff_interleave_compare_dts static to utils.c.
Signed-off-by: Janne Grunau <janne-ffmpeg at jannau.net>
(cherry picked from commit 101e1f6ff90c3365bfde05469ae26d2ee7f71f3e)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d20d1449e0eea245c483c0b97faf38df5092ff2f
---
libavformat/audiointerleave.h | 1 -
libavformat/utils.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavformat/audiointerleave.h b/libavformat/audiointerleave.h
index c948c36..b37c8ae 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 c208bd9..4f51c26 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];
More information about the ffmpeg-cvslog
mailing list