mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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;
|
AVCUDADeviceContext *hwctx = device_ctx->hwctx;
|
||||||
CudaFunctions *cu;
|
CudaFunctions *cu;
|
||||||
const char *src_uuid = NULL;
|
const char *src_uuid = NULL;
|
||||||
|
#if CONFIG_VULKAN
|
||||||
VkPhysicalDeviceIDProperties vk_idp;
|
VkPhysicalDeviceIDProperties vk_idp;
|
||||||
|
#endif
|
||||||
int ret, i, device_count;
|
int ret, i, device_count;
|
||||||
|
|
||||||
ret = cuda_flags_from_opts(device_ctx, opts, &flags);
|
ret = cuda_flags_from_opts(device_ctx, opts, &flags);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user