Skip to content

Commit

Permalink
Declare ff_interleave_new_audio_packet as static, it is not used
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
bcoudurier committed Feb 8, 2009
1 parent 61ccbc5 commit 18099ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion libavformat/audiointerleave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 0 additions & 2 deletions libavformat/audiointerleave.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 18099ad

Please sign in to comment.