Bug 1020760 - Remove assertion that doesn't compile on Linux Debug on TBPL. r=bustage CLOSED TREE
☠☠ backed out by 70f3b01cb736 ☠ ☠
authorChris Pearce <cpearce@mozilla.com>
Fri, 11 Jul 2014 13:21:12 +1200
changeset 193515 f0b20e3db93c736060a6abd950a4cc17aeb57369
parent 193514 83e4d5c39c66b289fc10ec803615bdb063e0b39a
child 193516 36bc028ec5c5e42854820281fc10569e1ec54925
push id27123
push userryanvm@gmail.com
push dateFri, 11 Jul 2014 20:35:05 +0000
treeherdermozilla-central@84bd8d9f4256 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1020760
milestone33.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 1020760 - Remove assertion that doesn't compile on Linux Debug on TBPL. r=bustage CLOSED TREE
media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp
--- a/media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp
+++ b/media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp
@@ -490,18 +490,16 @@ WebrtcGmpVideoDecoder::Decode_g(const we
   GMPVideoEncodedFrame* frame = static_cast<GMPVideoEncodedFrame*>(ftmp);
   err = frame->CreateEmptyFrame(aInputImage._length);
   if (err != GMPNoErr) {
     return WEBRTC_VIDEO_CODEC_ERROR;
   }
 
   // XXX At this point, we only will get mode1 data (a single length and a buffer)
   // Session_info.cc/etc code needs to change to support mode 0.
-  MOZ_ASSERT(ntohl(*(reinterpret_cast<uint32_t*>(const_cast<uint8_t*>(aInputImage._buffer)))) ==
-             0x00000001);
   *(reinterpret_cast<uint32_t*>(frame->Buffer())) = frame->Size();
 
   // XXX It'd be wonderful not to have to memcpy the encoded data!
   memcpy(frame->Buffer()+4, aInputImage._buffer+4, frame->Size()-4);
 
   frame->SetEncodedWidth(aInputImage._encodedWidth);
   frame->SetEncodedHeight(aInputImage._encodedHeight);
   frame->SetTimeStamp((aInputImage._timeStamp * 1000ll)/90); // rounds down