Fix compilation with libavcodec >5

API was constified: 626535f6a1
This commit is contained in:
Lars Toenning 2022-02-25 10:54:37 +01:00
parent 1a37dcf3d5
commit d146c0561f

View File

@ -81,7 +81,7 @@ struct FfmpegEncoder
struct SwsContext* m_sws_context = nullptr; struct SwsContext* m_sws_context = nullptr;
AVFrame* m_frame_yuv = nullptr; AVFrame* m_frame_yuv = nullptr;
AVCodec* m_codec = nullptr; const AVCodec* m_codec = nullptr;
AVCodecContext* m_codec_context = nullptr; AVCodecContext* m_codec_context = nullptr;
AVStream* m_stream = nullptr; AVStream* m_stream = nullptr;
AVPacket* m_packet = nullptr; AVPacket* m_packet = nullptr;