Bug 1145037 - Remove invalid assertion in MoofParser. r=ajones
authorMatt Woodrow <mwoodrow@mozilla.com>
Thu, 26 Mar 2015 12:57:58 +1300
changeset 266081 ecd90a83bb4a5c0efe96e6cae625f1c74bdaa276
parent 266080 4f8721033f5b1c42f4b649589bb171f129eddc79
child 266082 2118109cc0e222c3475d868252eab0ac32751f9f
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersajones
bugs1145037
milestone39.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 1145037 - Remove invalid assertion in MoofParser. r=ajones
media/libstagefright/binding/MoofParser.cpp
--- a/media/libstagefright/binding/MoofParser.cpp
+++ b/media/libstagefright/binding/MoofParser.cpp
@@ -667,17 +667,16 @@ Edts::Edts(Box& aBox)
   uint64_t segment_duration;
   if (version == 1) {
     segment_duration = reader->ReadU64();
     mMediaStart = reader->Read64();
   } else {
     segment_duration = reader->ReadU32();
     mMediaStart = reader->Read32();
   }
-  NS_ASSERTION(segment_duration == 0, "Can't handle edits with fixed durations");
   reader->DiscardRemaining();
 }
 
 Saiz::Saiz(Box& aBox, AtomType aDefaultType)
   : mAuxInfoType(aDefaultType)
   , mAuxInfoTypeParameter(0)
 {
   BoxReader reader(aBox);