[FFmpeg-cvslog] doc/Doxyfile: Add FF_PAD_STRUCTURE to PREDEFINED

Marvin Scholz git at videolan.org
Mon Oct 17 11:01:10 EEST 2022


ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Sep 24 20:29:54 2022 +0200| [fe9381ede6128073fa50cf3f725a72ceb32f76c3] | committer: Anton Khirnov

doc/Doxyfile: Add FF_PAD_STRUCTURE to PREDEFINED

The FF_PAD_STRUCTURE is too complex for doxygen to be able to
properly handle, resulting in completely broken AVBPrint documentation.

To fix that, tell Doxygen what to expand that macro to.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe9381ede6128073fa50cf3f725a72ceb32f76c3
---

 doc/Doxyfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/Doxyfile b/doc/Doxyfile
index 0891899505..572c532da5 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -1980,6 +1980,7 @@ PREDEFINED             = __attribute__(x)= \
                          av_alloc_size(...)= \
                          AV_GCC_VERSION_AT_LEAST(x,y)=1 \
                          AV_GCC_VERSION_AT_MOST(x,y)=0 \
+                         "FF_PAD_STRUCTURE(name,size,...)=typedef struct name { __VA_ARGS__ } name;" \
                          __GNUC__
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this



More information about the ffmpeg-cvslog mailing list