Fix compilation with libavcodec >5
API was constified: https://github.com/FFmpeg/FFmpeg/commit/626535f6a169e2d821b969e0ea77125ba7482113
This commit is contained in:
@@ -81,7 +81,7 @@ struct FfmpegEncoder
|
||||
|
||||
struct SwsContext* m_sws_context = nullptr;
|
||||
AVFrame* m_frame_yuv = nullptr;
|
||||
AVCodec* m_codec = nullptr;
|
||||
const AVCodec* m_codec = nullptr;
|
||||
AVCodecContext* m_codec_context = nullptr;
|
||||
AVStream* m_stream = nullptr;
|
||||
AVPacket* m_packet = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user