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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Feb 8 17:39:47 EET 2022


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);
 
-- 
2.32.0



More information about the ffmpeg-devel mailing list