mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
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:
parent
a7b213d981
commit
a3f2bc8e6f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user