diff options
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r-- | audio/sdlaudio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 0f23fd372..b74dcfa73 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -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) { |