Fixed crash in FLV input with some single-track files
This commit is contained in:
parent
105b98bb95
commit
2003d1f80e
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ namespace Mist {
|
||||||
while (!feof(inFile) && !FLV::Parse_Error){
|
while (!feof(inFile) && !FLV::Parse_Error){
|
||||||
if (tmpTag.FileLoader(inFile)){
|
if (tmpTag.FileLoader(inFile)){
|
||||||
if ( !selectedTracks.count(tmpTag.getTrackID())){
|
if ( !selectedTracks.count(tmpTag.getTrackID())){
|
||||||
return getNext();
|
lastBytePos = ftell(inFile);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue