Bug 1091304 - Fix code style. k=kinetik

We like braces around conditional bodies, and in fact this tripped
me up editing the code.
This commit is contained in:
Ralph Giles 2014-10-29 17:10:00 -07:00
parent a7b213d981
commit a3f2bc8e6f

View File

@ -42,8 +42,9 @@ Adts::ConvertEsdsToAdts(uint16_t aChannelCount, int8_t aFrequencyIndex,
// ADTS header uses 13 bits for packet size.
if (newSize >= (1 << 13) || aChannelCount > 15 ||
aFrequencyIndex < 0 || aProfile < 1 || aProfile > 4)
aFrequencyIndex < 0 || aProfile < 1 || aProfile > 4) {
return false;
}
Array<uint8_t, kADTSHeaderSize> header;
header[0] = 0xff;