summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--waftools/fragments/cuda.c15
-rw-r--r--wscript3
2 files changed, 1 insertions, 17 deletions
diff --git a/waftools/fragments/cuda.c b/waftools/fragments/cuda.c
deleted file mode 100644
index 1d534f62d3..0000000000
--- a/waftools/fragments/cuda.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#define CUDA_VERSION 7050
-
-typedef void * CUcontext;
-
-#include <libavcodec/avcodec.h>
-#include <libavutil/hwcontext.h>
-#include <libavutil/hwcontext_cuda.h>
-
-int main(int argc, char *argv[]) {
- enum AVHWDeviceType type = AV_HWDEVICE_TYPE_CUDA;
- AVCUDADeviceContextInternal *foo;
- AVCodecContext *avctx = avcodec_alloc_context3(NULL);
- avctx->hw_device_ctx = NULL;
- return 0;
-}
diff --git a/wscript b/wscript
index 8ad8d5ab20..c808f9b8ce 100644
--- a/wscript
+++ b/wscript
@@ -842,8 +842,7 @@ hwaccel_features = [
'name': '--cuda-hwaccel',
'desc': 'CUDA hwaccel',
'deps': 'gl && ffnvcodec',
- 'func': check_cc(fragment=load_fragment('cuda.c'),
- use='libavcodec'),
+ 'func': check_true,
}
]