mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Merge pull request #23 from MikeWalrus/master
add support for ffmpeg 5.0
This commit is contained in:
commit
bd2afff4da
|
@ -91,7 +91,11 @@ struct DecoderContext
|
||||||
QByteArray audioData_;
|
QByteArray audioData_;
|
||||||
QDataStream audioDataStream_;
|
QDataStream audioDataStream_;
|
||||||
AVFormatContext * formatContext_;
|
AVFormatContext * formatContext_;
|
||||||
|
#if LIBAVCODEC_VERSION_MAJOR < 59
|
||||||
AVCodec * codec_;
|
AVCodec * codec_;
|
||||||
|
#else
|
||||||
|
const AVCodec * codec_;
|
||||||
|
#endif
|
||||||
AVCodecContext * codecContext_;
|
AVCodecContext * codecContext_;
|
||||||
AVIOContext * avioContext_;
|
AVIOContext * avioContext_;
|
||||||
AVStream * audioStream_;
|
AVStream * audioStream_;
|
||||||
|
|
Loading…
Reference in a new issue