aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/ao_plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output/ao_plugin.c b/src/output/ao_plugin.c
index b3819a1d8..3907448ae 100644
--- a/src/output/ao_plugin.c
+++ b/src/output/ao_plugin.c
@@ -208,8 +208,10 @@ audioOutputAo_openDevice(void *data, struct audio_format *audio_format)
ad->device = ao_open_live(ad->driverId, &format, ad->options);
- if (ad->device == NULL)
+ if (ad->device == NULL) {
+ audioOutputAo_error("Failed to open libao");
return false;
+ }
return true;
}