[FFmpeg-devel] [PATCH] lavu/opt: Clarify that AVOptions is not indended for general use

Andrew Sayers ffmpeg-devel at pileofstuff.org
Mon Apr 22 11:49:45 EEST 2024


---
 libavutil/opt.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/opt.h b/libavutil/opt.h
index e6013662f6..795accb363 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -54,7 +54,11 @@
  * semantics of those fields without breaking API compatibility.
  *
  * @section avoptions_implement Implementing AVOptions
+ *
  * This section describes how to add AVOptions capabilities to a struct.
+ * It is intended for developers of FFmpeg itself - AVOptions can technically
+ * be used as a more general toolkit, but is neither intended nor expected
+ * to be good fit for other use cases.
  *
  * All AVOptions-related information is stored in an AVClass. Therefore
  * the first member of the struct should be a pointer to an AVClass describing it.
-- 
2.43.0



More information about the ffmpeg-devel mailing list