mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-17 04:41:08 +00:00
avcodec/opus: Add {} over multiline if() body
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7dbbb75ee3
commit
2cd718a4c5
@ -566,13 +566,14 @@ void ff_celt_bitalloc(CeltFrame *f, OpusRangeCoder *rc, int encode)
|
||||
int bits2[CELT_MAX_BANDS];
|
||||
|
||||
/* Spread */
|
||||
if (opus_rc_tell(rc) + 4 <= f->framebits)
|
||||
if (opus_rc_tell(rc) + 4 <= f->framebits) {
|
||||
if (encode)
|
||||
ff_opus_rc_enc_cdf(rc, f->spread, ff_celt_model_spread);
|
||||
else
|
||||
f->spread = ff_opus_rc_dec_cdf(rc, ff_celt_model_spread);
|
||||
else
|
||||
} else {
|
||||
f->spread = CELT_SPREAD_NORMAL;
|
||||
}
|
||||
|
||||
/* Initialize static allocation caps */
|
||||
for (i = 0; i < CELT_MAX_BANDS; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user