[FFmpeg-devel] [PATCH 03/19] avcodec/cabac_functions: Add missing headers

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Feb 15 19:42:51 EET 2022


Fixes make checkheaders on PPC, for which no arch-specific header
exists that indirectly includes attributes.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/cabac_functions.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/cabac_functions.h b/libavcodec/cabac_functions.h
index 2f2d48a8f8..c3f08d3410 100644
--- a/libavcodec/cabac_functions.h
+++ b/libavcodec/cabac_functions.h
@@ -30,6 +30,8 @@
 #include <stddef.h>
 #include <stdint.h>
 
+#include "libavutil/attributes.h"
+#include "libavutil/intmath.h"
 #include "cabac.h"
 #include "config.h"
 
-- 
2.32.0



More information about the ffmpeg-devel mailing list