commit | 8be92c99ed537d19a2f2cae59378cd8da3a839df | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Wed Apr 26 01:43:40 2017 -0400 |
committer | Ryan C. Gordon <icculus@icculus.org> | Wed Apr 26 01:43:40 2017 -0400 |
tree | 9deb430b46a7e2f458018526936140ab26332ebc | |
parent | 2294caeff4ad79566293330acf81316360cb57f6 [diff] |
audio: another wrong struct that causes NULL pointer crash (thanks, Simon!). Fixes Bugzilla #3632.
diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index 45d137d..ae076b2 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c
@@ -733,7 +733,7 @@ const int data_len = device->spec.size; Uint8 *data; void *udata = device->spec.userdata; - SDL_AudioCallback callback = device->spec.callback; + SDL_AudioCallback callback = device->callbackspec.callback; SDL_assert(device->iscapture);