From 7d3183d3a4e800ab7a7fa24f49968a1b1bcc0161 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 29 Mar 2015 13:49:44 +0200 Subject: [PATCH] qsv: Skip header compilation depending on what parts of qsv are enabled --- libavcodec/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index a29927f1dd..39158f3ea2 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -724,7 +724,9 @@ SKIPHEADERS += %_tablegen.h \ SKIPHEADERS-$(CONFIG_DXVA2) += dxva2.h dxva2_internal.h SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER) += libschroedinger.h SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h -SKIPHEADERS-$(CONFIG_QSVDEC) += qsv.h qsvdec.h qsv_internal.h +SKIPHEADERS-$(CONFIG_QSV) += qsv.h qsv_internal.h +SKIPHEADERS-$(CONFIG_QSVDEC) += qsvdec.h +SKIPHEADERS-$(CONFIG_QSVENC) += qsvenc.h SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_internal.h SKIPHEADERS-$(CONFIG_VDA) += vda.h vda_internal.h SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h vdpau_internal.h