*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401284
This commit is contained in:
parent
82eea8b8fd
commit
c76025809e
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ static int DSP_OpenAudio(_THIS, SDL_AudioSpec *spec)
|
|||
mixlen = spec->size;
|
||||
mixbuf = (Uint8 *)SDL_AllocAudioMem(mixlen);
|
||||
if ( mixbuf == NULL ) {
|
||||
DSP_CloseAudio(this);
|
||||
DSP_CloseAudio(this);
|
||||
return(-1);
|
||||
}
|
||||
memset(mixbuf, spec->silence, spec->size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue