From 171a75375be9b27e6a38361ef3235cb6333e8a16 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 26 Dec 2016 19:27:37 +0100 Subject: [PATCH] [outputs] Fix for (unlikely) situation where all outputs have no init() --- src/outputs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/outputs.c b/src/outputs.c index 42db1b5a..871798fd 100644 --- a/src/outputs.c +++ b/src/outputs.c @@ -342,7 +342,10 @@ outputs_init(void) } if (!outputs[i]->init) - continue; + { + no_output = 0; + continue; + } ret = outputs[i]->init(); if (ret < 0)