commit | 60592edde46e26f9baad650538d96ca5ef45c603 | [log] [tgz] |
---|---|---|
author | malc <av1474@comtv.ru> | Sat Aug 07 20:03:05 2010 +0400 |
committer | malc <av1474@comtv.ru> | Sat Aug 07 20:04:24 2010 +0400 |
tree | 9d6e3e10c02c595d1fc8828b3d84e6d6a8ec66d1 | |
parent | 138afb024bbd115553a344e06d93011a283d1316 [diff] |
audio/sdl: return on error Signed-off-by: malc <av1474@comtv.ru>
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 0f23fd3..b74dcfa 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c
@@ -191,6 +191,7 @@ 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) {