unify AV_VERSION_INT defines; fix cst build

Origin commit data
------------------
Commit: d1ff68dc54
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-08-29 (Sun, 29 Aug 2021)

Origin message was:
------------------
- unify AV_VERSION_INT defines; fix cst build
This commit is contained in:
vanhofen
2021-08-29 19:22:49 +02:00
parent 978c844fd8
commit d4327b1066
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;