mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 1134064
: Part3. Don't evict partial data and make resource unplayable. r=k17e
This commit is contained in:
parent
bd730cc79a
commit
fc5089207f
@ -331,7 +331,7 @@ MP4Demuxer::GetEvictionOffset(Microseconds aTime)
|
||||
for (int i = 0; i < mPrivate->mIndexes.Length(); i++) {
|
||||
offset = std::min(offset, mPrivate->mIndexes[i]->GetEvictionOffset(aTime));
|
||||
}
|
||||
return offset == std::numeric_limits<uint64_t>::max() ? -1 : offset;
|
||||
return offset == std::numeric_limits<uint64_t>::max() ? 0 : offset;
|
||||
}
|
||||
|
||||
Microseconds
|
||||
|
Loading…
Reference in New Issue
Block a user