Fix MP4 reading from very fast remotes
This commit is contained in:
parent
4181b52857
commit
63afd0b72a
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ namespace Mist{
|
|||
// first we get the necessary header parts
|
||||
size_t tNumber = 0;
|
||||
activityCounter = Util::bootSecs();
|
||||
while (inFile && keepRunning()){
|
||||
while ((readBuffer.size() >= 16 || inFile) && keepRunning()){
|
||||
//Read box header if needed
|
||||
while (readBuffer.size() < 16 && inFile && keepRunning()){inFile.readSome(16, *this);}
|
||||
//Failed? Abort.
|
||||
|
|
Loading…
Add table
Reference in a new issue