diff options
-rw-r--r-- | video/out/opengl/hwdec_cuda.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/hwdec_cuda.c b/video/out/opengl/hwdec_cuda.c index 266714a972..dfb55e8ce0 100644 --- a/video/out/opengl/hwdec_cuda.c +++ b/video/out/opengl/hwdec_cuda.c @@ -155,6 +155,7 @@ static int cuda_create(struct gl_hwdec *hw) bool loaded = cuda_load(); if (!loaded) { MP_ERR(hw, "Failed to load CUDA symbols\n"); + return -1; } ret = CHECK_CU(cuInit(0)); |