diff --git a/libavcodec/ac3.c b/libavcodec/ac3.c index d7c96f26fd..4b4cba5cf9 100644 --- a/libavcodec/ac3.c +++ b/libavcodec/ac3.c @@ -101,7 +101,7 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd, int bin, band; /* exponent mapping to PSD */ - for(bin=start;binfloor, ff_ac3_bap_tab, bap); @@ -277,10 +277,11 @@ av_cold void ac3_common_init(void) /* compute bndtab and masktab from bandsz */ k = 0; l = 0; - for(i=0;i<50;i++) { + for (i = 0; i < 50; i++) { band_start_tab[i] = l; v = ff_ac3_critical_band_size_tab[i]; - for(j=0;j