mirror of
https://github.com/rwengine/openrw.git
synced 2025-04-28 12:58:05 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue