[FFmpeg-devel] [PATCH] avfilter/stack_internal: add missing header includes

James Almer jamrial at gmail.com
Wed Mar 8 15:29:32 EET 2023


Fixes make checkheaders

Signed-off-by: James Almer <jamrial at gmail.com>
---
Untested.

 libavfilter/Makefile         | 2 +-
 libavfilter/stack_internal.h | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index b3d3d981dd..fc75d705e0 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -629,7 +629,7 @@ SKIPHEADERS-$(CONFIG_LIBVIDSTAB)             += vidstabutils.h
 
 SKIPHEADERS-$(CONFIG_QSVVPP)                 += qsvvpp.h
 SKIPHEADERS-$(CONFIG_OPENCL)                 += opencl.h
-SKIPHEADERS-$(CONFIG_VAAPI)                  += vaapi_vpp.h
+SKIPHEADERS-$(CONFIG_VAAPI)                  += vaapi_vpp.h stack_internal.h
 SKIPHEADERS-$(CONFIG_VULKAN)                 += vulkan.h vulkan_filter.h
 
 TOOLS     = graph2dot
diff --git a/libavfilter/stack_internal.h b/libavfilter/stack_internal.h
index ace8886152..a5be36c270 100644
--- a/libavfilter/stack_internal.h
+++ b/libavfilter/stack_internal.h
@@ -19,6 +19,12 @@
 #ifndef AVFILTER_STACK_INTERNAL_H
 #define AVFILTER_STACK_INTERNAL_H
 
+#include <stdint.h>
+
+#include "libavutil/attributes.h"
+#include "framesync.h"
+#include "vaapi_vpp.h"
+
 enum {
     STACK_H = 0,
     STACK_V = 1,
-- 
2.39.2



More information about the ffmpeg-devel mailing list