diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-11-18 17:16:14 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-20 15:47:05 +0000 |
commit | 1dc483a6f2d88e22f47da8584ca74de38262b742 (patch) | |
tree | de921bd90122df2cc1fd0496b28e4a81018f98ca /libavutil/hwcontext_cuda.c | |
parent | f7d77b4112f70a15552fbce2ce3d10a4186571b1 (diff) | |
download | ffmpeg-1dc483a6f2d88e22f47da8584ca74de38262b742.tar.gz |
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.c | 2 |
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; |