]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3enc_float.c
iac: generate codec tables as they are supposed to be
[ffmpeg] / libavcodec / ac3enc_float.c
index 0b9e1de2989864870922cb9179c0779f081e69b7..9eff5c5b6cc34677a7f6ccc42450aa3ea4096212 100644 (file)
@@ -86,10 +86,12 @@ av_cold int ff_ac3_float_mdct_init(AC3EncodeContext *s)
 /*
  * Apply KBD window to input samples prior to MDCT.
  */
-static void apply_window(DSPContext *dsp, float *output, const float *input,
-                         const float *window, unsigned int len)
+static void apply_window(void *dsp, float *output,
+                         const float *input, const float *window,
+                         unsigned int len)
 {
-    dsp->vector_fmul(output, input, window, len);
+    AVFloatDSPContext *fdsp = dsp;
+    fdsp->vector_fmul(output, input, window, len);
 }