MS_ADPCM_Decode: fix assigning an array to a pointer (lose '&').
authorOzkan Sezer <sezeroz@gmail.com>
Wed, 31 Jul 2019 00:10:00 +0300
changeset 1296459ae19a3902a
parent 12963 952ac0c1366f
child 12965 cac903c755a1
MS_ADPCM_Decode: fix assigning an array to a pointer (lose '&').
src/audio/SDL_wave.c
     1.1 --- a/src/audio/SDL_wave.c	Wed Jul 31 00:07:15 2019 +0300
     1.2 +++ b/src/audio/SDL_wave.c	Wed Jul 31 00:10:00 2019 +0300
     1.3 @@ -691,7 +691,7 @@
     1.4          return SDL_OutOfMemory();
     1.5      }
     1.6  
     1.7 -    state.cstate = &cstate;
     1.8 +    state.cstate = cstate;
     1.9  
    1.10      /* Decode block by block. A truncated block will stop the decoding. */
    1.11      bytesleft = state.input.size - state.input.pos;