]> git.sesse.net Git - ffmpeg/commitdiff
libavcodec/aacsbr_tablegen: fix tablegen on windows
authorHendrik Leppkes <h.leppkes@gmail.com>
Wed, 2 Dec 2015 08:52:03 +0000 (09:52 +0100)
committerHendrik Leppkes <h.leppkes@gmail.com>
Fri, 4 Dec 2015 13:49:40 +0000 (14:49 +0100)
Including these headers is not needed and breaks building on Windows as it
tries to activate the full compat tools, which are not needed for host
tools.

libavcodec/aacsbr_fixed_tablegen.c
libavcodec/aacsbr_tablegen.c
libavcodec/aacsbr_tablegen_common.h

index b896d75880737aee55f96e129dc5904746f2fb58..832fcb7a6d5ae49aec74b25566a35c4d8f2833ed 100644 (file)
@@ -21,9 +21,6 @@
  */
 
 #include <stdlib.h>
-#include "libavutil/internal.h"
-#include "libavutil/common.h"
-#undef CONFIG_HARDCODED_TABLES
 #define CONFIG_HARDCODED_TABLES 0
 #define USE_FIXED 1
 #include "aacsbr_fixed_tablegen.h"
index ee0d818f81af0237acbbe1c96b808d0037d0386f..c331c57673fc803847c166b47e7fd8a0032d59e4 100644 (file)
@@ -21,9 +21,6 @@
  */
 
 #include <stdlib.h>
-#include "libavutil/internal.h"
-#include "libavutil/common.h"
-#undef CONFIG_HARDCODED_TABLES
 #define CONFIG_HARDCODED_TABLES 0
 #define USE_FIXED 0
 #include "aacsbr_tablegen.h"
index 0a64552ed64c75bdf71616ce80c1b442e7898c9e..d7fc3061b08bda9e1ac364b70a2445cb1841b0fd 100644 (file)
@@ -22,7 +22,8 @@
 
 #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()