mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue