mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1163227
: Part4. Fix MP4TrackDemuxer eviction offset calculations. r=mattwoodrow
This commit is contained in:
parent
7186ab86c1
commit
f7e131b6e0
@ -298,7 +298,8 @@ int64_t
|
||||
MP4TrackDemuxer::GetEvictionOffset(media::TimeUnit aTime)
|
||||
{
|
||||
MonitorAutoLock mon(mMonitor);
|
||||
return int64_t(mIndex->GetEvictionOffset(aTime.ToMicroseconds()));
|
||||
uint64_t offset = mIndex->GetEvictionOffset(aTime.ToMicroseconds());
|
||||
return int64_t(offset == std::numeric_limits<uint64_t>::max() ? 0 : offset);
|
||||
}
|
||||
|
||||
media::TimeIntervals
|
||||
|
Loading…
Reference in New Issue
Block a user