You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/opus: Add {} over multiline if() body
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -566,13 +566,14 @@ void ff_celt_bitalloc(CeltFrame *f, OpusRangeCoder *rc, int encode)
|
|||||||
int bits2[CELT_MAX_BANDS];
|
int bits2[CELT_MAX_BANDS];
|
||||||
|
|
||||||
/* Spread */
|
/* Spread */
|
||||||
if (opus_rc_tell(rc) + 4 <= f->framebits)
|
if (opus_rc_tell(rc) + 4 <= f->framebits) {
|
||||||
if (encode)
|
if (encode)
|
||||||
ff_opus_rc_enc_cdf(rc, f->spread, ff_celt_model_spread);
|
ff_opus_rc_enc_cdf(rc, f->spread, ff_celt_model_spread);
|
||||||
else
|
else
|
||||||
f->spread = ff_opus_rc_dec_cdf(rc, ff_celt_model_spread);
|
f->spread = ff_opus_rc_dec_cdf(rc, ff_celt_model_spread);
|
||||||
else
|
} else {
|
||||||
f->spread = CELT_SPREAD_NORMAL;
|
f->spread = CELT_SPREAD_NORMAL;
|
||||||
|
}
|
||||||
|
|
||||||
/* Initialize static allocation caps */
|
/* Initialize static allocation caps */
|
||||||
for (i = 0; i < CELT_MAX_BANDS; i++)
|
for (i = 0; i < CELT_MAX_BANDS; i++)
|
||||||
|
Reference in New Issue
Block a user