aboutsummaryrefslogtreecommitdiffhomepage
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index fd37e4bbe7..7c1ef590ba 100644
--- a/wscript
+++ b/wscript
@@ -665,7 +665,7 @@ hwaccel_features = [
'name': '--vaapi-hwaccel',
'desc': 'libavcodec VAAPI hwaccel',
'deps': [ 'vaapi' ],
- 'func': check_statement('libavcodec/vaapi.h', '', use='libav'),
+ 'func': check_headers('libavcodec/vaapi.h', use='libav'),
} , {
'name': '--vda-hwaccel',
'desc': 'libavcodec VDA hwaccel',
@@ -691,7 +691,7 @@ hwaccel_features = [
'name': '--dxva2-hwaccel',
'desc': 'libavcodec DXVA2 hwaccel',
'deps': [ 'gdi' ],
- 'func': check_statement('libavcodec/dxva2.h', '', use='libav'),
+ 'func': check_headers('libavcodec/dxva2.h', use='libav'),
}
]