summaryrefslogtreecommitdiff
path: root/libavcodec/aacps_tablegen_template.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-28 16:19:23 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-02 01:47:01 +0100
commite742bf3421f1a3077334ec0761ac2116c70e7a07 (patch)
tree28648dafe008c811cd90dcfd75219e72d7fe8c73 /libavcodec/aacps_tablegen_template.c
parentff0618b5c4573765045bab58e4eecf4b1fe4d07e (diff)
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>
Diffstat (limited to 'libavcodec/aacps_tablegen_template.c')
-rw-r--r--libavcodec/aacps_tablegen_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aacps_tablegen_template.c b/libavcodec/aacps_tablegen_template.c
index 341bd44409..e70edf884b 100644
--- a/libavcodec/aacps_tablegen_template.c
+++ b/libavcodec/aacps_tablegen_template.c
@@ -21,6 +21,7 @@
*/
#include <stdlib.h>
+#define BUILD_TABLES
#define CONFIG_HARDCODED_TABLES 0
#include "aac_defines.h"