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 /libavcodec/nvdec.c | |
parent | f7d77b4112f70a15552fbce2ce3d10a4186571b1 (diff) |
compat/cuda: Pass a logging context to load functions
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvdec.c')
-rw-r--r-- | libavcodec/nvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c index efcd47a7f7..0a39927031 100644 --- a/libavcodec/nvdec.c +++ b/libavcodec/nvdec.c @@ -176,7 +176,7 @@ static int nvdec_decoder_create(AVBufferRef **out, AVBufferRef *hw_device_ref, decoder->cuda_ctx = device_hwctx->cuda_ctx; decoder->cudl = device_hwctx->internal->cuda_dl; - ret = cuvid_load_functions(&decoder->cvdl); + ret = cuvid_load_functions(&decoder->cvdl, logctx); if (ret < 0) { av_log(logctx, AV_LOG_ERROR, "Failed loading nvcuvid.\n"); goto fail; |