mirror of https://github.com/encounter/SDL.git
MS_ADPCM_Decode: fix assigning an array to a pointer (lose '&').
This commit is contained in:
parent
2ea0ec6207
commit
fdc67c3c60
|
@ -691,7 +691,7 @@ MS_ADPCM_Decode(WaveFile *file, Uint8 **audio_buf, Uint32 *audio_len)
|
||||||
return SDL_OutOfMemory();
|
return SDL_OutOfMemory();
|
||||||
}
|
}
|
||||||
|
|
||||||
state.cstate = &cstate;
|
state.cstate = cstate;
|
||||||
|
|
||||||
/* Decode block by block. A truncated block will stop the decoding. */
|
/* Decode block by block. A truncated block will stop the decoding. */
|
||||||
bytesleft = state.input.size - state.input.pos;
|
bytesleft = state.input.size - state.input.pos;
|
||||||
|
|
Loading…
Reference in New Issue