From ba7e50e79cba50b307e34ce2893681721fafccc6 Mon Sep 17 00:00:00 2001 From: Dennis Hamester Date: Thu, 10 Nov 2016 17:18:45 +0100 Subject: [PATCH] client: Clear incoming signalStatus before filling it --- src/client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.cpp b/src/client.cpp index e614288..130b5d1 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -271,6 +271,7 @@ bool SwitchChannel(const PVR_CHANNEL& channel) { } PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS& signalStatus) { + memset(&signalStatus, 0, sizeof(PVR_SIGNAL_STATUS)); rtsp_fill_signal_status(signalStatus); return PVR_ERROR_NO_ERROR; }