]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3enc_float.c
x86: rename dsputil.asm to idctdsp.asm
[ffmpeg] / libavcodec / ac3enc_float.c
index fca95b1819eab5b2d093431bfe5390d820af155a..fa6e50981bf681df54905832638547f8a56d1089 100644 (file)
@@ -28,6 +28,7 @@
 
 #define CONFIG_AC3ENC_FLOAT 1
 #include "internal.h"
+#include "audiodsp.h"
 #include "ac3enc.h"
 #include "eac3enc.h"
 #include "kbdwin.h"
@@ -117,9 +118,10 @@ static void sum_square_butterfly(AC3EncodeContext *s, float sum[4],
 /*
  * Clip MDCT coefficients to allowable range.
  */
-static void clip_coefficients(DSPContext *dsp, float *coef, unsigned int len)
+static void clip_coefficients(AudioDSPContext *adsp, float *coef,
+                              unsigned int len)
 {
-    dsp->vector_clipf(coef, coef, COEF_MIN, COEF_MAX, len);
+    adsp->vector_clipf(coef, coef, COEF_MIN, COEF_MAX, len);
 }