From e7bc48c368cbf0e89b9b459ba8c6c48679d116e9 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Sun, 6 Feb 2022 09:48:27 +0000 Subject: [PATCH] DATV Demod - Make AVCodecs const --- plugins/channelrx/demoddatv/datvideorender.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;