aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-07-31 11:35:03 -0300
committerJames Almer <jamrial@gmail.com>2024-08-01 12:13:53 -0300
commitf4daf633b2e31e2e0fb3e0fcf1c7deacbc57b93e (patch)
treee02346b849e36d67c8beb6694a907f87e5a9c0d6
parent6f8e365a2af2b6b21701d41eed3b2e3f8a436eeb (diff)
downloadffmpeg-f4daf633b2e31e2e0fb3e0fcf1c7deacbc57b93e.tar.gz
avcodec/aacps_tablegen_template: don't redefine CONFIG_HARDCODED_TABLES
Fixes relevant warnings when compiling with --enable-hardcoded-tables Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/aacps_tablegen_template.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aacps_tablegen_template.c b/libavcodec/aacps_tablegen_template.c
index e70edf884b..e05887b9b1 100644
--- a/libavcodec/aacps_tablegen_template.c
+++ b/libavcodec/aacps_tablegen_template.c
@@ -22,6 +22,8 @@
#include <stdlib.h>
#define BUILD_TABLES
+#include "config.h"
+#undef CONFIG_HARDCODED_TABLES
#define CONFIG_HARDCODED_TABLES 0
#include "aac_defines.h"