Bug 1445220 - Removed 'version' variable declaration as it was unused r=gerald
authorcubouyaka <victor.fontaine95@gmail.com>
Wed, 11 Apr 2018 16:05:40 +0200
changeset 471904 19f68300761ed2d550be280215da2103fa39a629
parent 471903 cf1e88230672c5ad0235be34695e7687ade52a6b
child 471905 e4bba542fa45c827481d8366691ccb6b02dbe53a
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1445220
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1445220 - Removed 'version' variable declaration as it was unused r=gerald
dom/media/mp4/MoofParser.cpp
--- a/dom/media/mp4/MoofParser.cpp
+++ b/dom/media/mp4/MoofParser.cpp
@@ -925,17 +925,16 @@ Saiz::Saiz(Box& aBox, AtomType aDefaultT
 
 Result<Ok, nsresult>
 Saiz::Parse(Box& aBox)
 {
   BoxReader reader(aBox);
 
   uint32_t flags;
   MOZ_TRY_VAR(flags, reader->ReadU32());
-  uint8_t version = flags >> 24;
   if (flags & 1) {
     MOZ_TRY_VAR(mAuxInfoType, reader->ReadU32());
     MOZ_TRY_VAR(mAuxInfoTypeParameter, reader->ReadU32());
   }
   uint8_t defaultSampleInfoSize;
   MOZ_TRY_VAR(defaultSampleInfoSize, reader->ReadU8());
   uint32_t count;
   MOZ_TRY_VAR(count, reader->ReadU32());