Commit d27049f9 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix build with FFmpeg 5

AVCodec is const in FFmpeg 5

BUG: 448776
parent 0bc2c823
Pipeline #150735 passed with stage
in 36 seconds
......@@ -57,7 +57,11 @@ private:
int m_VideoStream;
AVFormatContext* m_pFormatContext;
AVCodecContext* m_pVideoCodecContext;
#if LIBAVCODEC_VERSION_MAJOR < 59
AVCodec* m_pVideoCodec;
#else
const AVCodec* m_pVideoCodec;
#endif
AVStream* m_pVideoStream;
AVFrame* m_pFrame;
quint8* m_pFrameBuffer;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment