diff --git a/libavcodec/aacsbr_fixed_tablegen.c b/libavcodec/aacsbr_fixed_tablegen.c index 7117dbd0bb..b896d75880 100644 --- a/libavcodec/aacsbr_fixed_tablegen.c +++ b/libavcodec/aacsbr_fixed_tablegen.c @@ -21,9 +21,11 @@ */ #include +#include "libavutil/internal.h" +#include "libavutil/common.h" +#undef CONFIG_HARDCODED_TABLES #define CONFIG_HARDCODED_TABLES 0 #define USE_FIXED 1 -#include "libavutil/common.h" #include "aacsbr_fixed_tablegen.h" #include "tableprint.h" diff --git a/libavcodec/aacsbr_tablegen.c b/libavcodec/aacsbr_tablegen.c index 4f58270aa2..ee0d818f81 100644 --- a/libavcodec/aacsbr_tablegen.c +++ b/libavcodec/aacsbr_tablegen.c @@ -21,9 +21,11 @@ */ #include +#include "libavutil/internal.h" +#include "libavutil/common.h" +#undef CONFIG_HARDCODED_TABLES #define CONFIG_HARDCODED_TABLES 0 #define USE_FIXED 0 -#include "libavutil/common.h" #include "aacsbr_tablegen.h" #include "tableprint.h"