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

2022-02-11 Thread Andreas Rheinhardt
Andreas Rheinhardt:
> Adapt it to the actual (sane) behaviour.
> 
> Signed-off-by: Andreas Rheinhardt 
> ---
>  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
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


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

2022-02-08 Thread Andreas Rheinhardt
Adapt it to the actual (sane) behaviour.

Signed-off-by: Andreas Rheinhardt 
---
 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);
 
-- 
2.32.0

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".