Skip to content

Commit

Permalink
MS_ADPCM_Decode: fix assigning an array to a pointer (lose '&').
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jul 30, 2019
1 parent 2ea0ec6 commit fdc67c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_wave.c
Expand Up @@ -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;
Expand Down

0 comments on commit fdc67c3

Please sign in to comment.