Skip to content

Commit 00898f9

Browse files
committed
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.
1 parent a8683ee commit 00898f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libavcodec/from_lavc_vid_conv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@
5959

6060
#include "color.h"
6161
#include "compat/qsort_s.h"
62+
#ifdef HAVE_CONFIG_H
6263
#include "config.h" // for HWACC_VDPAU
64+
#endif
6365
#include "debug.h"
6466
#include "host.h"
6567
#include "hwaccel_vdpau.h"

0 commit comments

Comments
 (0)