]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hwcontext_cuda.c
avcodec/exr: Check buf_size more completely
[ffmpeg] / libavutil / hwcontext_cuda.c
index dfb67bc941e2756a06d2b6dcc9576b0b4ce75ec1..37827a770c3a621234e75da9d8a07b7893f6ae4f 100644 (file)
@@ -336,7 +336,7 @@ static int cuda_device_init(AVHWDeviceContext *ctx)
     }
 
     if (!hwctx->internal->cuda_dl) {
-        ret = cuda_load_functions(&hwctx->internal->cuda_dl);
+        ret = cuda_load_functions(&hwctx->internal->cuda_dl, ctx);
         if (ret < 0) {
             av_log(ctx, AV_LOG_ERROR, "Could not dynamically load CUDA\n");
             goto error;