summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-02-14 10:59:25 +0100
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-02-16 10:34:09 +0100
commit938b62538a719785bce0f1d49d3065937b29e3aa (patch)
tree83bbd23bd4e224e2468e08e62bc097f7169a91bf /libavcodec
parent54955283655f918db4e9c8ec5a254f06a10646a6 (diff)
Document audio_resample_close().
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 3cc212f7cd..86519387a9 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3247,6 +3247,13 @@ ReSampleContext *av_audio_resample_init(int output_channels, int input_channels,
int linear, double cutoff);
int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples);
+
+/**
+ * Free resample context.
+ *
+ * @param s a non-NULL pointer to a resample context previously
+ * created with av_audio_resample_init()
+ */
void audio_resample_close(ReSampleContext *s);