avcodec/aacps_fixed_tablegen: Don't include config.h

It is only valid for the target, not the host and therefore it must not
be included when building the tables when hardcoded tables are enabled.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2021-01-28 16:19:23 +01:00
parent ff0618b5c4
commit e742bf3421
2 changed files with 6 additions and 1 deletions

View File

@ -36,8 +36,12 @@
#else
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#ifdef BUILD_TABLES
#undef DECLARE_ALIGNED
#define DECLARE_ALIGNED(align, type, variable) type variable
#else
#include "libavutil/mem_internal.h"
#endif
#include "aac_defines.h"
#include "libavutil/softfloat.h"

View File

@ -21,6 +21,7 @@
*/
#include <stdlib.h>
#define BUILD_TABLES
#define CONFIG_HARDCODED_TABLES 0
#include "aac_defines.h"