]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvenc.c
avcodec/huffyuvdspenc : reorganize diff_int16
[ffmpeg] / libavcodec / nvenc.c
index e07280b568274da41ceb114b7839e9aa83608b16..79f7dce5f137ee8a5859777d33440ee0e4970404 100644 (file)
@@ -133,11 +133,11 @@ static av_cold int nvenc_load_libraries(AVCodecContext *avctx)
     uint32_t nvenc_max_ver;
     int ret;
 
-    ret = cuda_load_functions(&dl_fn->cuda_dl);
+    ret = cuda_load_functions(&dl_fn->cuda_dl, avctx);
     if (ret < 0)
         return ret;
 
-    ret = nvenc_load_functions(&dl_fn->nvenc_dl);
+    ret = nvenc_load_functions(&dl_fn->nvenc_dl, avctx);
     if (ret < 0) {
         nvenc_print_driver_requirement(avctx, AV_LOG_ERROR);
         return ret;