build with ffmpeg version > 59.0.100

Origin commit data
------------------
Commit: 343c8455b6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-08-28 (Sat, 28 Aug 2021)
This commit is contained in:
Jacek Jendrzej
2021-08-28 15:22:23 +02:00
committed by vanhofen
parent dd9eb94175
commit 978c844fd8
6 changed files with 23 additions and 1 deletions

View File

@@ -32,7 +32,11 @@ private:
pthread_mutex_t mutex;
cList<cDvbSubtitleBitmaps> *bitmaps;
AVCodecContext * avctx;
AVCodec * avcodec;
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59,0,100)
AVCodec *avcodec;
#else
const AVCodec *avcodec;
#endif
int min_x, min_y, max_x, max_y;
cTimeMs Timeout;
public: