summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/out/ao_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_null.c b/audio/out/ao_null.c
index 384343aaa1..2c93cc273b 100644
--- a/audio/out/ao_null.c
+++ b/audio/out/ao_null.c
@@ -90,7 +90,7 @@ static int init(struct ao *ao)
struct mp_chmap_sel sel = {0};
mp_chmap_sel_add_any(&sel);
if (!ao_chmap_sel_adjust(ao, &sel, &ao->channels))
- return -1;
+ mp_chmap_from_channels(&ao->channels, 2);
priv->latency = priv->latency_sec * ao->samplerate;