ffmpeg | branch: master | James Almer <[email protected]> | Sat Nov 12 15:54:53 2022 -0300| [84fe53f6e1a33dde78bc58e56408155e7d44cc78] | committer: James Almer
avutil/hwcontext_cuda: fix compilation without Vulkan after last commit Signed-off-by: James Almer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=84fe53f6e1a33dde78bc58e56408155e7d44cc78 --- libavutil/hwcontext_cuda.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c index a553d15b69..5ae7711c94 100644 --- a/libavutil/hwcontext_cuda.c +++ b/libavutil/hwcontext_cuda.c @@ -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); _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
