mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
audio: another wrong struct that causes NULL pointer crash (thanks, Simon!).
Fixes Bugzilla #3632.
This commit is contained in:
parent
1286a7d23e
commit
226541cb5b
@ -733,7 +733,7 @@ SDL_CaptureAudio(void *devicep)
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user