diff options
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/mvp_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |