Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-11-18 20:16:14 +0300
committerMark Thompson <sw@jkqxz.net>2017-11-20 18:47:05 +0300
commit1dc483a6f2d88e22f47da8584ca74de38262b742 (patch)
treede921bd90122df2cc1fd0496b28e4a81018f98ca /libavcodec/cuviddec.c
parentf7d77b4112f70a15552fbce2ce3d10a4186571b1 (diff)
compat/cuda: Pass a logging context to load functions
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/cuviddec.c')
-rw-r--r--libavcodec/cuviddec.c2
1 files changed, 1 insertions, 1 deletions
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;