]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qdm2.c
Merge remote-tracking branch 'newdev/master'
[ffmpeg] / libavcodec / qdm2.c
index 3779b8e3aa0e5efeeafc2412156ad0eacccbf41c..0d5eeac0ce9db02449627ca8b3ee0fc232c46203 100644 (file)
@@ -1588,7 +1588,7 @@ static void qdm2_calculate_fft (QDM2Context *q, int channel, int sub_packet)
     int i;
     q->fft.complex[channel][0].re *= 2.0f;
     q->fft.complex[channel][0].im = 0.0f;
-    ff_rdft_calc(&q->rdft_ctx, (FFTSample *)q->fft.complex[channel]);
+    q->rdft_ctx.rdft_calc(&q->rdft_ctx, (FFTSample *)q->fft.complex[channel]);
     /* add samples to output buffer */
     for (i = 0; i < ((q->fft_frame_size + 15) & ~15); i++)
         q->output_buffer[q->channels * i + channel] += ((float *) q->fft.complex[channel])[i] * gain;