- 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

@@ -54,7 +54,7 @@ private:
size_t buffer_size;
unsigned char *buffer;
AVFormatContext *avc;
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59,0,100)
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 0, 100)
AVCodec *codec;
#else
const AVCodec *codec;