- unify AV_VERSION_INT defines; fix cst build

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-08-29 19:22:49 +02:00
committed by Thilo Graf
parent ee09213b50
commit a1703cbcd0
6 changed files with 28 additions and 26 deletions

View File

@@ -1,5 +1,3 @@
/*
Neutrino-GUI - DBoxII-Project

View File

@@ -65,7 +65,9 @@
extern "C" {
#include <libavformat/avformat.h>
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 48, 101)
#include <libavcodec/bsf.h>
#endif
}
#if (LIBAVCODEC_VERSION_MAJOR > 55)

View File

@@ -33,7 +33,9 @@
extern "C" {
#include <libavformat/avformat.h>
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 48, 101)
#include <libavcodec/bsf.h>
#endif
}
typedef std::set<int> stream_pids_t;