diff --git a/doc/Doxyfile b/doc/Doxyfile
index eb394f0a6eead97f0f8634442cfdc424faba18fb..aa1f4e29474e778abb8047cd6da631aa25240a34 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -1375,7 +1375,8 @@ INCLUDE_FILE_PATTERNS  =
 
 PREDEFINED             = "__attribute__(x)=" \
                          "DECLARE_ALIGNED(a,t,n)=t n" \
-                         "offsetof(x,y)=0x42"
+                         "offsetof(x,y)=0x42" \
+                         av_alloc_size \
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
 # this tag can be used to specify a list of macro names that should be expanded.