From fac1727e102b0f4d682506be0f8a814fbbdb4455 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sat, 13 Dec 2014 14:58:32 +0100 Subject: [PATCH] Fixed stream-less builtin files loading correctly. --- src/output/output.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/output/output.cpp b/src/output/output.cpp index 4697f1f7..fe59aac3 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -227,6 +227,9 @@ namespace Mist { if (streamIndex.mapped){ return; } + if (streamName.size() < 1){ + return; //abort - no stream to initialize... + } if (!Util::startInput(streamName)){ DEBUG_MSG(DLVL_FAIL, "Opening stream disallowed - aborting initalization"); onFail();