projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9144d4
)
audio/sdl: return on error
author
malc
<av1474@comtv.ru>
Sat, 7 Aug 2010 16:03:05 +0000
(20:03 +0400)
committer
malc
<av1474@comtv.ru>
Sat, 7 Aug 2010 16:04:24 +0000
(20:04 +0400)
Signed-off-by: malc <av1474@comtv.ru>
audio/sdlaudio.c
patch
|
blob
|
history
diff --git
a/audio/sdlaudio.c
b/audio/sdlaudio.c
index 0f23fd372ab9944bb71b40137f3084ee204441ea..b74dcfa73470c9ad28097303a4b34344319d259e 100644
(file)
--- 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) {