1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-07-05 12:29:05 +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:
Mark Tomlin 2024-04-20 13:32:37 -04:00 committed by GitHub
parent 0f83c16f65
commit f10a5a8f7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;