OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
138afb0
)
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
0f23fd3
..
b74dcfa
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) {