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 --- libavcodec/cuviddec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cuviddec.c') diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c index 6370348639..806dab2074 100644 --- a/libavcodec/cuviddec.c +++ b/libavcodec/cuviddec.c @@ -835,7 +835,7 @@ static av_cold int cuvid_decode_init(AVCodecContext *avctx) goto error; } - ret = cuvid_load_functions(&ctx->cvdl); + ret = cuvid_load_functions(&ctx->cvdl, avctx); if (ret < 0) { av_log(avctx, AV_LOG_ERROR, "Failed loading nvcuvid.\n"); goto error; -- cgit v1.2.3