summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_cuda.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-11-18 17:16:14 +0000
committerMark Thompson <sw@jkqxz.net>2017-11-20 15:47:05 +0000
commit1dc483a6f2d88e22f47da8584ca74de38262b742 (patch)
treede921bd90122df2cc1fd0496b28e4a81018f98ca /libavutil/hwcontext_cuda.c
parentf7d77b4112f70a15552fbce2ce3d10a4186571b1 (diff)
compat/cuda: Pass a logging context to load functions
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavutil/hwcontext_cuda.c')
-rw-r--r--libavutil/hwcontext_cuda.c2
1 files changed, 1 insertions, 1 deletions
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;