From 7b9a731525e65e7d273371f3b15ca60055cbc1ec Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 8 May 2018 11:32:59 +0200 Subject: [PATCH] Fixed missing return statements in HLS input --- src/input/input_hls.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input/input_hls.cpp b/src/input/input_hls.cpp index 7cfd17ae..bc9e9b27 100644 --- a/src/input/input_hls.cpp +++ b/src/input/input_hls.cpp @@ -32,7 +32,7 @@ namespace Mist{ return self->callback(); } - int cleanLine(std::string &s){ + void cleanLine(std::string &s){ if (s.length() > 0 && s.at(s.length() - 1) == '\r'){s.erase(s.size() - 1);} } @@ -283,6 +283,8 @@ namespace Mist{ return false; } } + //No extension. We assume it's fine. + return true; } /// function for adding segments to the playlist to be processed. used for VOD