diff options
Diffstat (limited to '')
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/output/mvp_plugin.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -20,6 +20,7 @@ ver 0.15 - (200?/??/??) - mvp: fall back to stereo - mvp: fall back to 16 bit audio samples - mvp: check for reopen errors + - mvp: fixed default device detection * commands: - "playlistinfo" supports a range now - added "sticker database", command "sticker", which allows clients diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c index b9004029b..976a2c2b5 100644 --- a/src/output/mvp_plugin.c +++ b/src/output/mvp_plugin.c @@ -114,7 +114,7 @@ mvp_output_test_default_device(void) fd = open("/dev/adec_pcm", O_WRONLY); - if (fd) { + if (fd >= 0) { close(fd); return true; } |