[FFmpeg-devel] [PATCH] avcodec.h: document padding requirements for get_buffer() callback.
Ronald S. Bultje
rsbultje at gmail.com
Fri Jan 3 00:39:30 EET 2025
---
libavcodec/avcodec.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 12e6e8749f..7ecb819dae 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1199,7 +1199,8 @@ typedef struct AVCodecContext {
* some other means.
*
* Each data plane must be aligned to the maximum required by the target
- * CPU.
+ * CPU. In addition, each data plane must be padded by that same amount
+ * plus 15 bytes.
*
* @see avcodec_default_get_buffer2()
*
--
2.43.1
More information about the ffmpeg-devel
mailing list