audio: another wrong struct that causes NULL pointer crash (thanks, Simon!).
Fixes Bugzilla #3632.
This commit is contained in:
parent
2294caeff4
commit
8be92c99ed
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue