HLS segfault fix.
This commit is contained in:
parent
b7c37ba60d
commit
70b66cd975
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ namespace Mist {
|
|||
lines.push_back(lineBuf);
|
||||
}
|
||||
unsigned int skippedLines = 0;
|
||||
if (myMeta.live){
|
||||
if (myMeta.live && lines.size()) {
|
||||
//only print the last segment when VoD
|
||||
lines.pop_back();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue