Bug 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage.

This commit is contained in:
Chris Pearce 2013-09-09 09:52:20 +12:00
Родитель 9a6ec47677
Коммит 83ca0489b5
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -410,7 +410,7 @@ void MP3FrameParser::Parse(const char* aBuffer, uint32_t aLength, int64_t aOffse
// 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;
}