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

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2022-02-24 16:34:16 -03:00
parent c33b404885
commit a2b090da79
1 changed files with 4 additions and 0 deletions

View File

@ -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,