From 9ec650a84f00fd57f41095ac3de2e3d7df4822fe Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 12 Aug 2015 01:18:22 -0700 Subject: [PATCH] Zero audio renderer callbacks before populating --- Limelight/Stream/Connection.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Limelight/Stream/Connection.m b/Limelight/Stream/Connection.m index 1aaf0f1..8dfaa56 100644 --- a/Limelight/Stream/Connection.m +++ b/Limelight/Stream/Connection.m @@ -296,6 +296,7 @@ void ClDisplayTransientMessage(char* message) memset(&_drCallbacks, 0, sizeof(_drCallbacks)); _drCallbacks.submitDecodeUnit = DrSubmitDecodeUnit; + memset(&_arCallbacks, 0, sizeof(_arCallbacks)); _arCallbacks.init = ArInit; _arCallbacks.cleanup = ArCleanup; _arCallbacks.decodeAndPlaySample = ArDecodeAndPlaySample;