Bug 1342339 - remove compile warning from bug 1340446. r=kinetik

MozReview-Commit-ID: yCAZvJRZCC

--HG--
extra : rebase_source : 21aa6c5cb0548c080a6fc2d1980b807f14237743
This commit is contained in:
Alfredo.Yang 2017-03-01 11:37:30 +08:00
Родитель 6ef981dc18
Коммит bc9447f328
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -366,9 +366,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(data.indices[i].start_composition - aDest[i].start_composition) <= 1);
MOZ_DIAGNOSTIC_ASSERT(llabs(data.indices[i].end_composition - aDest[i].end_composition) <= 1);
MOZ_DIAGNOSTIC_ASSERT(llabs(data.indices[i].start_decode - aDest[i].start_decode) <= 1);
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(data.indices[i].sync == aDest[i].sync);
}
}