]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aacsbr_tablegen_common.h
Merge commit '85990140e7302d1e7fcc9fc0eea316178c19fe03'
[ffmpeg] / libavcodec / aacsbr_tablegen_common.h
index 0a64552ed64c75bdf71616ce80c1b442e7898c9e..8c8f6effa16fc8054a83444a30088f66437c4626 100644 (file)
 
 #ifndef AVCODEC_AACSBR_TABLEGEN_COMMON_H
 #define AVCODEC_AACSBR_TABLEGEN_COMMON_H
-#include "aac.h"
+#include "aac_defines.h"
+#include "libavutil/mem.h"
 
-#if CONFIG_HARDCODED_TABLES
-#define aacsbr_tableinit()
-#else
 ///< window coefficients for analysis/synthesis QMF banks
 static DECLARE_ALIGNED(32, INTFLOAT, sbr_qmf_window_ds)[320];
 static DECLARE_ALIGNED(32, INTFLOAT, sbr_qmf_window_us)[640] = {
@@ -124,6 +122,5 @@ static av_cold void aacsbr_tableinit(void)
     for (n = 0; n < 320; n++)
         sbr_qmf_window_ds[n] = sbr_qmf_window_us[2*n];
 }
-#endif /* CONFIG_HARDCODED_TABLES */
 
 #endif /* AVCODEC_AACSBR_TABLEGEN_COMMON_H */