1 --- a/libavutil/hwcontext_cuda.c
2 +++ b/libavutil/hwcontext_cuda.c
4 hwctx->internal->cuda_device));
8 } else if (flags & AV_CUDA_USE_CURRENT_CONTEXT) {
9 ret = CHECK_CU(cu->cuCtxGetCurrent(&hwctx->cuda_ctx));
12 av_log(device_ctx, AV_LOG_INFO, "Using current CUDA context.\n");
15 ret = CHECK_CU(cu->cuCtxCreate(&hwctx->cuda_ctx, desired_flags,
16 hwctx->internal->cuda_device));