[FFmpeg-cvslog] avcodec/libsvtav1: fix compilation with old SVT-AV1 builds

James Almer git at videolan.org
Thu Feb 24 21:34:44 EET 2022


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Feb 24 16:34:16 2022 -0300| [a2b090da79324abfc522644d66afab01df9699bd] | committer: James Almer

avcodec/libsvtav1: fix compilation with old SVT-AV1 builds

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2b090da79324abfc522644d66afab01df9699bd
---

 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,



More information about the ffmpeg-cvslog mailing list