Browse Source

avcodec/aacsbr: fix compilation with hardcoded tables

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
tags/n2.8
James Almer 10 years ago
parent
commit
651448a8a7
2 changed files with 6 additions and 2 deletions
  1. +3
    -1
      libavcodec/aacsbr_fixed_tablegen.c
  2. +3
    -1
      libavcodec/aacsbr_tablegen.c

+ 3
- 1
libavcodec/aacsbr_fixed_tablegen.c View File

@@ -21,9 +21,11 @@
*/ */


#include <stdlib.h> #include <stdlib.h>
#include "libavutil/internal.h"
#include "libavutil/common.h"
#undef CONFIG_HARDCODED_TABLES
#define CONFIG_HARDCODED_TABLES 0 #define CONFIG_HARDCODED_TABLES 0
#define USE_FIXED 1 #define USE_FIXED 1
#include "libavutil/common.h"
#include "aacsbr_fixed_tablegen.h" #include "aacsbr_fixed_tablegen.h"
#include "tableprint.h" #include "tableprint.h"




+ 3
- 1
libavcodec/aacsbr_tablegen.c View File

@@ -21,9 +21,11 @@
*/ */


#include <stdlib.h> #include <stdlib.h>
#include "libavutil/internal.h"
#include "libavutil/common.h"
#undef CONFIG_HARDCODED_TABLES
#define CONFIG_HARDCODED_TABLES 0 #define CONFIG_HARDCODED_TABLES 0
#define USE_FIXED 0 #define USE_FIXED 0
#include "libavutil/common.h"
#include "aacsbr_tablegen.h" #include "aacsbr_tablegen.h"
#include "tableprint.h" #include "tableprint.h"




Loading…
Cancel
Save