ffmpeg | branch: release/7.0 | James Almer <jamr...@gmail.com> | Wed Jul 31 
11:35:03 2024 -0300| [d0d740946b72bbe736e99254a0bf921598a000d0] | committer: 
James Almer

avcodec/aacps_tablegen_template: don't redefine CONFIG_HARDCODED_TABLES

Fixes relevant warnings when compiling with --enable-hardcoded-tables

Signed-off-by: James Almer <jamr...@gmail.com>
(cherry picked from commit f4daf633b2e31e2e0fb3e0fcf1c7deacbc57b93e)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0d740946b72bbe736e99254a0bf921598a000d0
---

 libavcodec/aacps_tablegen_template.c | 2 ++
 1 file changed, 2 insertions(+)

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"
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to