зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1343793 - use i64 instead of u64 in presentation time. r=kinetik
MozReview-Commit-ID: ECngVxPiYEl --HG-- extra : rebase_source : e9b428e04910a36dfaf5f19c48eb453a9b6e9898
This commit is contained in:
Родитель
9175297392
Коммит
b2fd41c814
|
@ -348,9 +348,9 @@ MP4Metadata::ReadTrackIndex(FallibleTArray<Index::Indice>& aDest, mozilla::Track
|
|||
for (uint32_t i = 0; i < data.length; i++) {
|
||||
MOZ_DIAGNOSTIC_ASSERT(data.indices[i].start_offset == aDest[i].start_offset);
|
||||
MOZ_DIAGNOSTIC_ASSERT(data.indices[i].end_offset == aDest[i].end_offset);
|
||||
MOZ_DIAGNOSTIC_ASSERT(llabs(int64_t(data.indices[i].start_composition - aDest[i].start_composition)) <= 1);
|
||||
MOZ_DIAGNOSTIC_ASSERT(llabs(int64_t(data.indices[i].end_composition - aDest[i].end_composition)) <= 1);
|
||||
MOZ_DIAGNOSTIC_ASSERT(llabs(int64_t(data.indices[i].start_decode - aDest[i].start_decode)) <= 1);
|
||||
MOZ_DIAGNOSTIC_ASSERT(llabs(data.indices[i].start_composition - int64_t(aDest[i].start_composition)) <= 1);
|
||||
MOZ_DIAGNOSTIC_ASSERT(llabs(data.indices[i].end_composition - int64_t(aDest[i].end_composition)) <= 1);
|
||||
MOZ_DIAGNOSTIC_ASSERT(llabs(data.indices[i].start_decode - int64_t(aDest[i].start_decode)) <= 1);
|
||||
MOZ_DIAGNOSTIC_ASSERT(data.indices[i].sync == aDest[i].sync);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче