[FFmpeg-devel] [PATCH] Document audio_resample_close().
Justin Ruggles
justin.ruggles
Mon Feb 14 13:08:04 CET 2011
On 02/14/2011 04:59 AM, Stefano Sabatini wrote:
> ---
> libavcodec/avcodec.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 24ac0ee..99556bf 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -3239,6 +3239,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.
The 's' at the end is unnecessary.
> + *
> + * @param s a non-NULL pointer to a resample context previously
> + * created with av_audio_resample_init()
> + */
> void audio_resample_close(ReSampleContext *s);
Besides that the patch looks fine.
-Justin
More information about the ffmpeg-devel
mailing list