- 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

@@ -32,7 +32,7 @@ private:
pthread_mutex_t mutex;
cList<cDvbSubtitleBitmaps> *bitmaps;
AVCodecContext * avctx;
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59,0,100)
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 0, 100)
AVCodec *avcodec;
#else
const AVCodec *avcodec;