diff --git a/plugins/channelrx/demoddatv/datvideorender.cpp b/plugins/channelrx/demoddatv/datvideorender.cpp index bdb5d9758..8718307c1 100644 --- a/plugins/channelrx/demoddatv/datvideorender.cpp +++ b/plugins/channelrx/demoddatv/datvideorender.cpp @@ -160,8 +160,8 @@ void DATVideoRender::resetMetaData() bool DATVideoRender::preprocessStream() { AVDictionary *opts = nullptr; - AVCodec *videoCodec = nullptr; - AVCodec *audioCodec = nullptr; + const AVCodec *videoCodec = nullptr; + const AVCodec *audioCodec = nullptr; int intRet = -1; char *buffer = nullptr;