diff options
author | Philip Langdale <philipl@cloudera.com> | 2018-05-10 12:03:12 -0700 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-05-10 22:43:08 +0300 |
commit | 1b19ba6c57c9adabed2bbb22b6c0c231c44d0af4 (patch) | |
tree | fafb83d3123ff72a1fb4de14feb9481640489f9e /waftools | |
parent | a645c6b2ecf72c0e64f4d32bf14115398bf5b57f (diff) | |
download | mpv-1b19ba6c57c9adabed2bbb22b6c0c231c44d0af4.tar.bz2 mpv-1b19ba6c57c9adabed2bbb22b6c0c231c44d0af4.tar.xz |
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.
Diffstat (limited to 'waftools')
-rw-r--r-- | waftools/fragments/cuda.c | 15 |
1 files changed, 0 insertions, 15 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; -} |