Revision 46751a65

View differences:

libavcodec/aacsbr.c
138 138
av_cold void ff_aac_sbr_ctx_init(SpectralBandReplication *sbr)
139 139
{
140 140
    sbr->kx[0] = sbr->kx[1] = 32; //Typo in spec, kx' inits to 32
141
    sbr->data[0].e_a[1] = sbr->data[1].e_a[1] = -1;
141 142
    sbr->data[0].synthesis_filterbank_samples_offset = SBR_SYNTHESIS_BUF_SIZE - (1280 - 128);
142 143
    sbr->data[1].synthesis_filterbank_samples_offset = SBR_SYNTHESIS_BUF_SIZE - (1280 - 128);
143 144
    ff_mdct_init(&sbr->mdct, 7, 1, 1.0/64);

Also available in: Unified diff