Revision 17d59599 libavcodec/aacsbr.c

View differences:

libavcodec/aacsbr.c
1750 1750
        }
1751 1751

  
1752 1752
        /* synthesis */
1753
        sbr_x_gen(sbr, sbr->X, sbr->X_low, sbr->data[ch].Y, ch);
1753
        sbr_x_gen(sbr, sbr->X[ch], sbr->X_low, sbr->data[ch].Y, ch);
1754 1754
    }
1755
    sbr_qmf_synthesis(&ac->dsp, &sbr->mdct, L, sbr->X, sbr->qmf_filter_scratch,
1755
    sbr_qmf_synthesis(&ac->dsp, &sbr->mdct, L, sbr->X[0], sbr->qmf_filter_scratch,
1756 1756
                      sbr->data[0].synthesis_filterbank_samples,
1757 1757
                      &sbr->data[0].synthesis_filterbank_samples_offset,
1758 1758
                      downsampled,
1759 1759
                      ac->add_bias, -1024 * ac->sf_scale);
1760 1760
    if (nch == 2)
1761
        sbr_qmf_synthesis(&ac->dsp, &sbr->mdct, R, sbr->X, sbr->qmf_filter_scratch,
1761
        sbr_qmf_synthesis(&ac->dsp, &sbr->mdct, R, sbr->X[1], sbr->qmf_filter_scratch,
1762 1762
                          sbr->data[1].synthesis_filterbank_samples,
1763 1763
                          &sbr->data[1].synthesis_filterbank_samples_offset,
1764 1764
                          downsampled,

Also available in: Unified diff