Mercurial > libavformat.hg
changeset 4417:de5ccc7a4461 libavformat
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.
author | bcoudurier |
---|---|
date | Sun, 08 Feb 2009 21:09:50 +0000 |
parents | e059726dfb1b |
children | d5119d75439d |
files | audiointerleave.c audiointerleave.h |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/audiointerleave.c Sun Feb 08 21:08:34 2009 +0000 +++ b/audiointerleave.c Sun Feb 08 21:09:50 2009 +0000 @@ -67,7 +67,7 @@ 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];
--- a/audiointerleave.h Sun Feb 08 21:08:34 2009 +0000 +++ b/audiointerleave.h Sun Feb 08 21:09:50 2009 +0000 @@ -40,8 +40,6 @@ 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.