diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c index 056fbe1942..fac68d0bf3 100644 --- a/libavformat/audiointerleave.c +++ b/libavformat/audiointerleave.c @@ -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]; diff --git a/libavformat/audiointerleave.h b/libavformat/audiointerleave.h index d5b2957c00..9a228f8c5d 100644 --- a/libavformat/audiointerleave.h +++ b/libavformat/audiointerleave.h @@ -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.