Bug 1396794 - Removed aPacket and aLength change r=kentuckyfriedtakahe

MozReview-Commit-ID: JG9vo3dbMB

--HG--
extra : rebase_source : d699868284c5929aee3b26544fc99f454dd114ed
This commit is contained in:
Bharat Raghunathan 2017-09-16 07:18:56 +05:30
parent 5efaf40765
commit 1880a2c631

View File

@ -76,8 +76,6 @@ FlacFrameParser::DecodeHeaderBlock(const uint8_t* aPacket, size_t aLength)
br.Remaining() != FLAC_STREAMINFO_SIZE + 4) {
return false;
}
aPacket += 4;
aLength -= 4;
}
uint8_t blockHeader = br.ReadU8();
// blockType is a misnomer as it could indicate here either a packet type