mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1134064: Part3. Don't evict partial data and make resource unplayable. r=k17e
This commit is contained in:
parent
3248340b8b
commit
f1d818df55
@ -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