2019-03-18 14:43:30 -07:00
|
|
|
From 4acda3a1fc934bebe9d6fa14a66688c23d664c24 Mon Sep 17 00:00:00 2001
|
2019-03-02 21:46:30 -08:00
|
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
2019-03-18 14:43:30 -07:00
|
|
|
Date: Tue, 19 Mar 2019 08:41:11 +1100
|
|
|
|
Subject: [PATCH 5/6] Revert "xaudio2: Fix uninitialized variable access
|
2019-03-02 21:46:30 -08:00
|
|
|
(Valgrind)."
|
|
|
|
|
|
|
|
This reverts commit ac8be6a1a24d49e1e32806b05dcf4591de5c691e.
|
|
|
|
---
|
|
|
|
dlls/xaudio2_7/compat.c | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/dlls/xaudio2_7/compat.c b/dlls/xaudio2_7/compat.c
|
2019-03-18 14:43:30 -07:00
|
|
|
index bc33cb9..318f668 100644
|
2019-03-02 21:46:30 -08:00
|
|
|
--- a/dlls/xaudio2_7/compat.c
|
|
|
|
+++ b/dlls/xaudio2_7/compat.c
|
|
|
|
@@ -923,7 +923,7 @@ static HRESULT WINAPI XA20SUB_SetOutputVoices(IXAudio20SubmixVoice *iface,
|
|
|
|
const XAUDIO23_VOICE_SENDS *pSendList)
|
|
|
|
{
|
|
|
|
XA2VoiceImpl *This = impl_from_IXAudio20SubmixVoice(iface);
|
|
|
|
- XAUDIO2_VOICE_SENDS sends, *psends = NULL;
|
|
|
|
+ XAUDIO2_VOICE_SENDS sends, *psends;
|
|
|
|
HRESULT hr;
|
|
|
|
|
|
|
|
TRACE("%p, %p\n", This, pSendList);
|
|
|
|
@@ -1483,7 +1483,7 @@ static HRESULT WINAPI XA20M_SetOutputVoices(IXAudio20MasteringVoice *iface,
|
|
|
|
const XAUDIO23_VOICE_SENDS *pSendList)
|
|
|
|
{
|
|
|
|
XA2VoiceImpl *This = impl_from_IXAudio20MasteringVoice(iface);
|
|
|
|
- XAUDIO2_VOICE_SENDS sends, *psends = NULL;
|
|
|
|
+ XAUDIO2_VOICE_SENDS sends, *psends;
|
|
|
|
HRESULT hr;
|
|
|
|
|
|
|
|
TRACE("%p, %p\n", This, pSendList);
|
|
|
|
@@ -2115,7 +2115,7 @@ static HRESULT WINAPI XA20_CreateSubmixVoice(IXAudio20 *iface,
|
|
|
|
const XAUDIO2_EFFECT_CHAIN *pEffectChain)
|
|
|
|
{
|
|
|
|
IXAudio2Impl *This = impl_from_IXAudio20(iface);
|
|
|
|
- XAUDIO2_VOICE_SENDS sends, *psends = NULL;
|
|
|
|
+ XAUDIO2_VOICE_SENDS sends, *psends;
|
|
|
|
HRESULT hr;
|
|
|
|
|
|
|
|
if(pSendList){
|
|
|
|
@@ -2350,7 +2350,7 @@ static HRESULT WINAPI XA22_CreateSubmixVoice(IXAudio22 *iface,
|
|
|
|
const XAUDIO2_EFFECT_CHAIN *pEffectChain)
|
|
|
|
{
|
|
|
|
IXAudio2Impl *This = impl_from_IXAudio22(iface);
|
|
|
|
- XAUDIO2_VOICE_SENDS sends, *psends = NULL;
|
|
|
|
+ XAUDIO2_VOICE_SENDS sends, *psends;
|
|
|
|
HRESULT hr;
|
|
|
|
|
|
|
|
if(pSendList){
|
|
|
|
--
|
2019-03-18 14:43:30 -07:00
|
|
|
1.9.1
|
2019-03-02 21:46:30 -08:00
|
|
|
|