mirror of https://git.ffmpeg.org/ffmpeg.git
avutil/hwcontext_cuda: fix compilation without Vulkan after last commit
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
f4aa5c275f
commit
84fe53f6e1
|
@ -438,7 +438,9 @@ static int cuda_device_derive(AVHWDeviceContext *device_ctx,
|
|||
AVCUDADeviceContext *hwctx = device_ctx->hwctx;
|
||||
CudaFunctions *cu;
|
||||
const char *src_uuid = NULL;
|
||||
#if CONFIG_VULKAN
|
||||
VkPhysicalDeviceIDProperties vk_idp;
|
||||
#endif
|
||||
int ret, i, device_count;
|
||||
|
||||
ret = cuda_flags_from_opts(device_ctx, opts, &flags);
|
||||
|
|
Loading…
Reference in New Issue