From bfeecb8341caee5c2fbbbb93e1d99595cfac1fa4 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Mon, 26 Oct 2026 17:41:56 -0400 Subject: [PATCH] remoteoutput: Initialize FEC device index Initialize m_deviceIndex to prevent use of an indeterminate device index before configuration is applied. Identified by cppcheck. Signed-off-by: Robin Getz --- plugins/samplesink/remoteoutput/udpsinkfec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/samplesink/remoteoutput/udpsinkfec.cpp b/plugins/samplesink/remoteoutput/udpsinkfec.cpp index 4f9b40b9c..0dbfca820 100644 --- a/plugins/samplesink/remoteoutput/udpsinkfec.cpp +++ b/plugins/samplesink/remoteoutput/udpsinkfec.cpp @@ -37,6 +37,7 @@ UDPSinkFEC::UDPSinkFEC() : m_txBlockIndex(0), m_frameCount(0), m_sampleIndex(0), + m_deviceIndex(0), m_remoteOutputSender(nullptr), m_senderThread(nullptr), m_remoteAddress("127.0.0.1"),