fix possible segfault sh4 hardware

Origin commit data
------------------
Branch: master
Commit: 2c1759fe2e
Author: Frankenstone <dampf_acc@online.de>
Date: 2019-02-27 (Wed, 27 Feb 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Frankenstone
2019-02-27 14:04:05 +01:00
committed by max_10
parent 17f92a96d0
commit befac2b6b4

View File

@@ -322,7 +322,7 @@ int cAudio::StopClip()
}
close(clipfd);
clipfd = -1;
if (mixer_fd >= -1) {
if (mixer_fd > -1) {
close(mixer_fd);
mixer_fd = -1;
}