diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-08 21:09:50 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-08 21:09:50 +0000 |
commit | 18099ade6fbacf793e1c4d75ca71906c5abd40e8 (patch) | |
tree | 05b465689a96a5cbb777c5eab06ae287d31e549c | |
parent | 61ccbc52ea0e963630688204fcefe28c876ca480 (diff) | |
download | ffmpeg-18099ade6fbacf793e1c4d75ca71906c5abd40e8.tar.gz |
Declare ff_interleave_new_audio_packet as static, it is not used
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
-rw-r--r-- | libavformat/audiointerleave.c | 2 | ||||
-rw-r--r-- | libavformat/audiointerleave.h | 2 |
2 files changed, 1 insertions, 3 deletions
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. |