Bug 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage.
authorChris Pearce <cpearce@mozilla.com>
Mon, 09 Sep 2013 09:52:20 +1200
changeset 146105 acc75d3ef7c0f668cd890788d62d5fcdbf831159
parent 146104 48a66737dc5c222270c1aaf23284536dc1d9cb30
child 146106 353aa004fed8365c64a5203df6fe73799c3422ca
push id25240
push useremorley@mozilla.com
push dateMon, 09 Sep 2013 12:09:06 +0000
treeherdermozilla-central@9846f07d5867 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs910966
milestone26.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 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage.
content/media/MP3FrameParser.cpp
--- a/content/media/MP3FrameParser.cpp
+++ b/content/media/MP3FrameParser.cpp
@@ -405,17 +405,17 @@ void MP3FrameParser::Parse(const char* a
     return;
   }
   mOffset += bytesRead;
 
   if (bytesRead < aLength) {
     // We have some data left over. Store trailing bytes in temporary buffer
     // to be parsed next time we receive more data.
     uint32_t trailing = aLength - bytesRead;
-    MOZ_ASSERT(trailing < (NS_ARRAY_LENGTH(mBuffer)*sizeof(*mBuffer[0])));
+    MOZ_ASSERT(trailing < (NS_ARRAY_LENGTH(mBuffer)*sizeof(mBuffer[0])));
     memcpy(mBuffer, buffer+(aLength-trailing), trailing);
     mBufferLength = trailing;
   }
 
   if (mOffset > mLength) {
     mLength = mOffset;
   }
 }