]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3enc_fixed.c
alac: simplify 1st order prediction and reading of warm-up samples
[ffmpeg] / libavcodec / ac3enc_fixed.c
index 8d75ee303b0d161c9f168301193a8392434f50e0..cc8f158c9d9968231e30943fe0abcc1afffe42fd 100644 (file)
@@ -68,10 +68,11 @@ av_cold int AC3_NAME(mdct_init)(AC3EncodeContext *s)
 /*
  * Apply KBD window to input samples prior to MDCT.
  */
-static void apply_window(DSPContext *dsp, int16_t *output, const int16_t *input,
+static void apply_window(void *dsp, int16_t *output, const int16_t *input,
                          const int16_t *window, unsigned int len)
 {
-    dsp->apply_window_int16(output, input, window, len);
+    DSPContext *dsp0 = dsp;
+    dsp0->apply_window_int16(output, input, window, len);
 }