summaryrefslogtreecommitdiff
path: root/libavcodec/libsvtav1.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-02-24 16:34:16 -0300
committerJames Almer <jamrial@gmail.com>2022-02-24 16:34:16 -0300
commita2b090da79324abfc522644d66afab01df9699bd (patch)
tree44d86fe18509bf29e2fd56b6e6cf71aba23699d6 /libavcodec/libsvtav1.c
parentc33b4048859a191acf9b6aa22acaea248a4eb18f (diff)
downloadffmpeg-a2b090da79324abfc522644d66afab01df9699bd.tar.gz
avcodec/libsvtav1: fix compilation with old SVT-AV1 builds
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/libsvtav1.c')
-rw-r--r--libavcodec/libsvtav1.c4
1 files changed, 4 insertions, 0 deletions
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,