From 1dc483a6f2d88e22f47da8584ca74de38262b742 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sat, 18 Nov 2017 17:16:14 +0000 Subject: compat/cuda: Pass a logging context to load functions Reviewed-by: Timo Rothenpieler --- libavutil/hwcontext_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/hwcontext_cuda.c') diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c index dfb67bc941..37827a770c 100644 --- a/libavutil/hwcontext_cuda.c +++ b/libavutil/hwcontext_cuda.c @@ -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; -- cgit v1.2.3