Revision 26f548bb libavcodec/qdm2.c

View differences:

libavcodec/qdm2.c
1588 1588
    int i;
1589 1589
    q->fft.complex[channel][0].re *= 2.0f;
1590 1590
    q->fft.complex[channel][0].im = 0.0f;
1591
    ff_rdft_calc(&q->rdft_ctx, (FFTSample *)q->fft.complex[channel]);
1591
    q->rdft_ctx.rdft_calc(&q->rdft_ctx, (FFTSample *)q->fft.complex[channel]);
1592 1592
    /* add samples to output buffer */
1593 1593
    for (i = 0; i < ((q->fft_frame_size + 15) & ~15); i++)
1594 1594
        q->output_buffer[q->channels * i + channel] += ((float *) q->fft.complex[channel])[i] * gain;

Also available in: Unified diff