From a2b090da79324abfc522644d66afab01df9699bd Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 24 Feb 2022 16:34:16 -0300 Subject: [PATCH] avcodec/libsvtav1: fix compilation with old SVT-AV1 builds Signed-off-by: James Almer --- libavcodec/libsvtav1.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c index ce3b0ba7ac..e0287d867a 100644 --- a/libavcodec/libsvtav1.c +++ b/libavcodec/libsvtav1.c @@ -37,6 +37,10 @@ #include "avcodec.h" #include "profiles.h" +#ifndef SVT_AV1_CHECK_VERSION +#define SVT_AV1_CHECK_VERSION(major, minor, patch) 0 +#endif + typedef enum eos_status { EOS_NOT_REACHED = 0, EOS_SENT,