[FFmpeg-devel] [PATCH] avutil/tx: Fix documentation of av_tx_uninit()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Feb 11 11:22:36 EET 2022


Andreas Rheinhardt:
> Adapt it to the actual (sane) behaviour.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavutil/tx.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavutil/tx.h b/libavutil/tx.h
> index 087355f10d..3de2f7231b 100644
> --- a/libavutil/tx.h
> +++ b/libavutil/tx.h
> @@ -154,7 +154,7 @@ int av_tx_init(AVTXContext **ctx, av_tx_fn *tx, enum AVTXType type,
>                 int inv, int len, const void *scale, uint64_t flags);
>  
>  /**
> - * Frees a context and sets ctx to NULL, does nothing when ctx == NULL
> + * Frees a context and sets *ctx to NULL, does nothing when *ctx == NULL.
>   */
>  void av_tx_uninit(AVTXContext **ctx);
>  

Will apply this later tonight unless there are objections.

- Andreas


More information about the ffmpeg-devel mailing list