From 7562101a9f666f31b443c015dff545eedaeb1542 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 14 Feb 2011 10:59:25 +0100 Subject: [PATCH] Document audio_resample_close(). Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ecea51027f..c85bd84564 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3257,6 +3257,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 s. + * + * @param s a non-NULL pointer to a resample context previously + * created with av_audio_resample_init() + */ void audio_resample_close(ReSampleContext *s);