Convert floating-point MDCT coefficients to 24-bit fixed-point all at once
[ffmpeg.git] / libavcodec / ac3enc_fixed.c
index 9d3b195dedd853ea2d8aef23c4466f7fa2956b69..3723b08b96aa45c95a1846c7b77fc77e6f28c2b0 100644 (file)
@@ -319,6 +319,17 @@ static int normalize_samples(AC3EncodeContext *s)
 }
 
 
+/**
+ * Scale MDCT coefficients from float to fixed-point.
+ */
+static void scale_coefficients(AC3EncodeContext *s)
+{
+    /* scaling/conversion is obviously not needed for the fixed-point encoder
+       since the coefficients are already fixed-point. */
+    return;
+}
+
+
 #ifdef TEST
 /*************************************************************************/
 /* TEST */