[FFmpeg-devel] [PATCH 2/4] lavc/vulkan: remove redundant header
Lynne
dev at lynne.ee
Fri Oct 4 12:31:29 EEST 2024
---
libavcodec/Makefile | 2 +-
libavcodec/vulkan.h | 24 ------------------------
libavcodec/vulkan_video.h | 2 +-
3 files changed, 2 insertions(+), 26 deletions(-)
delete mode 100644 libavcodec/vulkan.h
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 5aed2fff28..a253a9b160 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -1290,7 +1290,7 @@ SKIPHEADERS-$(CONFIG_QSVENC) += qsvenc.h
SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_decode.h vaapi_hevc.h vaapi_encode.h
SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h vdpau_internal.h
SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX) += videotoolbox.h vt_internal.h
-SKIPHEADERS-$(CONFIG_VULKAN) += vulkan.h vulkan_video.h vulkan_encode.h vulkan_decode.h
+SKIPHEADERS-$(CONFIG_VULKAN) += vulkan_video.h vulkan_encode.h vulkan_decode.h
SKIPHEADERS-$(CONFIG_V4L2_M2M) += v4l2_buffers.h v4l2_context.h v4l2_m2m.h
SKIPHEADERS-$(CONFIG_ZLIB) += zlib_wrapper.h
diff --git a/libavcodec/vulkan.h b/libavcodec/vulkan.h
deleted file mode 100644
index b15efd4add..0000000000
--- a/libavcodec/vulkan.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * This file is part of FFmpeg.
- *
- * FFmpeg is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * FFmpeg is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef AVCODEC_VULKAN_H
-#define AVCODEC_VULKAN_H
-
-#include "libavutil/vulkan.h"
-
-#endif /* AVCODEC_VULKAN_H */
diff --git a/libavcodec/vulkan_video.h b/libavcodec/vulkan_video.h
index c205f7b88f..1ec5f419ed 100644
--- a/libavcodec/vulkan_video.h
+++ b/libavcodec/vulkan_video.h
@@ -20,7 +20,7 @@
#define AVCODEC_VULKAN_VIDEO_H
#include "avcodec.h"
-#include "vulkan.h"
+#include "libavutil/vulkan.h"
#include <vk_video/vulkan_video_codecs_common.h>
--
2.45.2.753.g447d99e1c3b
More information about the ffmpeg-devel
mailing list