From 00898f90fa05b9a44fd4daae304751a27cb68caf Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 2 Oct 2025 09:25:42 +0200 Subject: [PATCH] from_lavc_vid_conv bench tool compat Fix the benchmark tool build when src/config.h present and CUDA conversions enabled there. The appropriate CUDA files will be required if HAVE_LAVC_CUDA_CONV is defined. --- src/libavcodec/from_lavc_vid_conv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libavcodec/from_lavc_vid_conv.c b/src/libavcodec/from_lavc_vid_conv.c index 00c631266..a57dcf55c 100644 --- a/src/libavcodec/from_lavc_vid_conv.c +++ b/src/libavcodec/from_lavc_vid_conv.c @@ -59,7 +59,9 @@ #include "color.h" #include "compat/qsort_s.h" +#ifdef HAVE_CONFIG_H #include "config.h" // for HWACC_VDPAU +#endif #include "debug.h" #include "host.h" #include "hwaccel_vdpau.h"