mirror of
https://github.com/rwengine/openrw.git
synced 2024-10-04 16:17:17 +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;
|
||||
AVFormatContext* formatContext = nullptr;
|
||||
AVStream* audioStream = nullptr;
|
||||
AVCodec* codec = nullptr;
|
||||
const AVCodec* codec = nullptr;
|
||||
SwrContext* swr = nullptr;
|
||||
AVCodecContext* codecContext = nullptr;
|
||||
AVPacket readingPacket;
|
||||
|
Loading…
Reference in New Issue
Block a user