From fdc67c3c60a616b902e0c893ce617bcc9c55a0d0 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 31 Jul 2019 00:10:00 +0300 Subject: [PATCH] MS_ADPCM_Decode: fix assigning an array to a pointer (lose '&'). --- src/audio/SDL_wave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/SDL_wave.c b/src/audio/SDL_wave.c index 4842101989c8d..d5d4eedd07e05 100644 --- a/src/audio/SDL_wave.c +++ b/src/audio/SDL_wave.c @@ -691,7 +691,7 @@ MS_ADPCM_Decode(WaveFile *file, Uint8 **audio_buf, Uint32 *audio_len) return SDL_OutOfMemory(); } - state.cstate = &cstate; + state.cstate = cstate; /* Decode block by block. A truncated block will stop the decoding. */ bytesleft = state.input.size - state.input.pos;