From 40102a21374096ce0ba05c67c6e7474f176af2d0 Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 27 Feb 2018 17:51:02 -0300 Subject: [PATCH] avcodec/Makefile: skip nvdec.h header when nvdec is not enabled Fixes make checkheaders now that the cuda headers are no longer in-tree Signed-off-by: James Almer --- libavcodec/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index f09518b197..b496f0dfb0 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -1086,6 +1086,7 @@ SKIPHEADERS-$(CONFIG_JNI) += ffjni.h SKIPHEADERS-$(CONFIG_LIBVPX) += libvpx.h SKIPHEADERS-$(CONFIG_LIBWEBP_ENCODER) += libwebpenc_common.h SKIPHEADERS-$(CONFIG_MEDIACODEC) += mediacodecdec_common.h mediacodec_surface.h mediacodec_wrapper.h mediacodec_sw_buffer.h +SKIPHEADERS-$(CONFIG_NVDEC) += nvdec.h SKIPHEADERS-$(CONFIG_NVENC) += nvenc.h SKIPHEADERS-$(CONFIG_QSV) += qsv.h qsv_internal.h SKIPHEADERS-$(CONFIG_QSVDEC) += qsvdec.h