Commit c7602580 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401284
parent 82eea8b8
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment