Fixed missing return statements in HLS input

This commit is contained in:
Thulinma 2018-05-08 11:32:59 +02:00
parent a3de760df5
commit 7b9a731525

View file

@ -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