From 1b19ba6c57c9adabed2bbb22b6c0c231c44d0af4 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Thu, 10 May 2018 12:03:12 -0700 Subject: wscript: Remove code check for cuda hwaccel This was there originally to detect too-old versions of ffmpeg. We now only support >= 4.0, so it's not relevant. We just need the dependencies to be present. --- waftools/fragments/cuda.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 waftools/fragments/cuda.c (limited to 'waftools/fragments') 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 -#include -#include - -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; -} -- cgit v1.2.3