mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-07 04:08:55 +00:00
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);
|
err = sigfillset (&new);
|
||||||
if (err) {
|
if (err) {
|
||||||
dolog ("sdl_open: sigfillset failed: %s\n", strerror (errno));
|
dolog ("sdl_open: sigfillset failed: %s\n", strerror (errno));
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
err = pthread_sigmask (SIG_BLOCK, &new, &old);
|
err = pthread_sigmask (SIG_BLOCK, &new, &old);
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user