audio/sdl: return on error
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
138afb024b
commit
60592edde4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user