mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 18:31:27 +00:00
don't seg when non-jack isn't available either :P
This commit is contained in:
parent
cfb13eac71
commit
1be73a528a
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ SND_ScanChannels (int wait)
|
|||
channel_t *ch;
|
||||
int count = 0;
|
||||
|
||||
if (!snd_shm->speed)
|
||||
if (!snd_shm || !snd_shm->speed)
|
||||
return;
|
||||
|
||||
if (wait) {
|
||||
|
|
Loading…
Reference in a new issue