mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 04:41:54 +00:00
Bug 993303 - Correct the VorbisTrackEncoder::WriteLacing function. r=rillian
This commit is contained in:
parent
4266c27429
commit
33f79cef24
@ -80,7 +80,7 @@ VorbisTrackEncoder::Init(int aChannels, int aSamplingRate)
|
||||
|
||||
void VorbisTrackEncoder::WriteLacing(nsTArray<uint8_t> *aOutput, int32_t aLacing)
|
||||
{
|
||||
while (aLacing > 255) {
|
||||
while (aLacing >= 255) {
|
||||
aLacing -= 255;
|
||||
aOutput->AppendElement(255);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user