diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-12-31 22:47:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-01-12 22:57:01 +0100 |
commit | 2cd718a4c52f3225d36d35055f16ef923c03aeac (patch) | |
tree | 81ab6a5b16abff91d269d6ff4edf1fdb3b31dad9 | |
parent | 7dbbb75ee32f87108ca9e15f5551dbbe69fe2641 (diff) | |
download | ffmpeg-2cd718a4c52f3225d36d35055f16ef923c03aeac.tar.gz |
avcodec/opus: Add {} over multiline if() body
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/opus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/opus.c b/libavcodec/opus.c index 9cbf4aed92..aa827b604c 100644 --- a/libavcodec/opus.c +++ b/libavcodec/opus.c @@ -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++) |