From 93c30bd6f0846898bb3e7172bb5de65f2d0f33ce Mon Sep 17 00:00:00 2001
From: Lynne <dev@lynne.ee>
Date: Thu, 24 Nov 2022 15:56:01 +0100
Subject: [PATCH] lavu/tx: clarify stride for RDFT transforms

---
 libavutil/tx.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavutil/tx.h b/libavutil/tx.h
index cd772ad903..758f634b73 100644
--- a/libavutil/tx.h
+++ b/libavutil/tx.h
@@ -75,7 +75,9 @@ enum AVTXType {
      * the double variant, it's a 'double'. If scale is NULL, 1.0 will be used
      * as a default.
      *
-     * The stride parameter must be set to the size of a single sample in bytes.
+     * For forward transforms (R2C), stride must be the spacing between two
+     * samples in bytes. For inverse transforms, the stride must be set
+     * to the spacing between two complex values in bytes.
      *
      * The forward transform performs a real-to-complex DFT of N samples to
      * N/2+1 complex values.