audio/sdl: return on error

Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
malc 2010-08-07 20:03:05 +04:00
parent 138afb024b
commit 60592edde4

View File

@ -191,6 +191,7 @@ static int sdl_open (SDL_AudioSpec *req, SDL_AudioSpec *obt)
err = sigfillset (&new);
if (err) {
dolog ("sdl_open: sigfillset failed: %s\n", strerror (errno));
return -1;
}
err = pthread_sigmask (SIG_BLOCK, &new, &old);
if (err) {