From b2bff4ebd0b84316716fe91c47fe8dcdfb42f916 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Fri, 6 Mar 2020 13:03:21 +0100 Subject: [PATCH] Minor fix for vaapi compile --- video.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/video.c b/video.c index fac1b5b..47ac3d5 100644 --- a/video.c +++ b/video.c @@ -1414,7 +1414,10 @@ typedef struct _cuvid_decoder_ static CuvidDecoder *CuvidDecoders[2]; ///< open decoder streams static int CuvidDecoderN; ///< number of decoder streams + +#ifdef CUVID static CudaFunctions *cu; +#endif #ifdef PLACEBO typedef struct priv