diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index e3ddfc9c7e..ebe2520c4a 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -556,7 +556,8 @@ static int sbr_hf_calc_npatches(AACContext *ac, SpectralBandReplication *sbr) k = sbr->n_master; } while (sb != sbr->kx[1] + sbr->m[1]); - if (sbr->num_patches > 1 && sbr->patch_num_subbands[sbr->num_patches-1] < 3) + if (sbr->num_patches > 1 && + sbr->patch_num_subbands[sbr->num_patches - 1] < 3) sbr->num_patches--; return 0;