build: Do not check the vaapi_encode.h header if VAAPI is not enabled
authorDiego Biurrun <diego@biurrun.de>
Wed, 30 Mar 2016 15:51:23 +0000 (17:51 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 30 Mar 2016 15:52:46 +0000 (17:52 +0200)
libavcodec/Makefile

index 68f16c4..22279fb 100644 (file)
@@ -780,7 +780,7 @@ SKIPHEADERS-$(CONFIG_NVENC)            += nvenc.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_VAAPI)            += vaapi_encode.h vaapi_internal.h
 SKIPHEADERS-$(CONFIG_VDA)              += vda.h vda_internal.h
 SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h vdpau_internal.h