mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +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_;
|
||||
QDataStream audioDataStream_;
|
||||
AVFormatContext * formatContext_;
|
||||
#if LIBAVCODEC_VERSION_MAJOR < 59
|
||||
AVCodec * codec_;
|
||||
#else
|
||||
const AVCodec * codec_;
|
||||
#endif
|
||||
AVCodecContext * codecContext_;
|
||||
AVIOContext * avioContext_;
|
||||
AVStream * audioStream_;
|
||||
|
|
Loading…
Reference in a new issue