Fixed missing return statements in HLS input
This commit is contained in:
parent
a3de760df5
commit
7b9a731525
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue