mirror of
https://github.com/rwengine/openrw.git
synced 2024-10-06 09:07:19 +02:00
Fix Error: assigning to 'AVCodec *' from 'const AVCodec *' discards qualifiers
in newer ffmpeg versions (#746)
Co-authored-by: Tomi Lähteenmäki <lihis@lihis.net>
This commit is contained in:
parent
0f83c16f65
commit
f10a5a8f7a
@ -90,7 +90,7 @@ private:
|
|||||||
AVFrame* frame = nullptr;
|
AVFrame* frame = nullptr;
|
||||||
AVFormatContext* formatContext = nullptr;
|
AVFormatContext* formatContext = nullptr;
|
||||||
AVStream* audioStream = nullptr;
|
AVStream* audioStream = nullptr;
|
||||||
AVCodec* codec = nullptr;
|
const AVCodec* codec = nullptr;
|
||||||
SwrContext* swr = nullptr;
|
SwrContext* swr = nullptr;
|
||||||
AVCodecContext* codecContext = nullptr;
|
AVCodecContext* codecContext = nullptr;
|
||||||
AVPacket readingPacket;
|
AVPacket readingPacket;
|
||||||
|
Loading…
Reference in New Issue
Block a user