[FFmpeg-devel] [PATCH 5/7] swresample/swresample: Fix mismatching argument names

James Almer jamrial at gmail.com
Thu Sep 15 05:12:08 EEST 2022


On 9/14/2022 10:52 PM, Marvin Scholz wrote:
> ---
>   libswresample/swresample.h | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/libswresample/swresample.h b/libswresample/swresample.h
> index 980be65783..83821a0930 100644
> --- a/libswresample/swresample.h
> +++ b/libswresample/swresample.h
> @@ -354,8 +354,8 @@ int swr_convert(struct SwrContext *s, uint8_t **out, int out_count,
>    *              in this case the output timestamps will match output sample numbers.
>    *              See ffmpeg-resampler(1) for the two modes of compensation.
>    *
> - * @param s[in]     initialized Swr context
> - * @param pts[in]   timestamp for the next input sample, INT64_MIN if unknown
> + * @param[in] s     initialized Swr context
> + * @param[in] pts   timestamp for the next input sample, INT64_MIN if unknown
>    * @see swr_set_compensation(), swr_drop_output(), and swr_inject_silence() are
>    *      function used internally for timestamp compensation.
>    * @return the output timestamp for the next output sample
> @@ -636,8 +636,8 @@ int swr_convert_frame(SwrContext *swr,
>    * @see swr_close();
>    *
>    * @param swr             audio resample context
> - * @param output          output AVFrame
> - * @param input           input AVFrame
> + * @param output          out   AVFrame
> + * @param input           in    AVFrame

@param out             output AVFrame
@param in              input AVFrame

>    * @return                0 on success, AVERROR on failure.
>    */
>   int swr_config_frame(SwrContext *swr, const AVFrame *out, const AVFrame *in);


More information about the ffmpeg-devel mailing list