1 diff --git a/core/libs/threadimageio/video/videodecoder_p.h b/core/libs/threadimageio/video/videodecoder_p.h
2 index 251e092809..d82926b77e 100644
3 --- a/core/libs/threadimageio/video/videodecoder_p.h
4 +++ b/core/libs/threadimageio/video/videodecoder_p.h
5 @@ -56,7 +56,7 @@ public:
6 AVFormatContext* pFormatContext;
7 AVCodecContext* pVideoCodecContext;
8 AVCodecParameters* pVideoCodecParameters;
9 - AVCodec* pVideoCodec;
10 + const AVCodec* pVideoCodec;
11 AVStream* pVideoStream;