diff options
-rw-r--r-- | apps/codecs/libfaad/common.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/codecs/libfaad/common.h b/apps/codecs/libfaad/common.h index 08f4c7ab53..fa8f4e0f39 100644 --- a/apps/codecs/libfaad/common.h +++ b/apps/codecs/libfaad/common.h | |||
@@ -78,7 +78,7 @@ extern struct codec_api* ci; | |||
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | /* Used to allocate several SBR + PS arrays and variables statically. */ | 80 | /* Used to allocate several SBR + PS arrays and variables statically. */ |
81 | //#define FAAD_STATIC_ALLOC | 81 | #define FAAD_STATIC_ALLOC |
82 | 82 | ||
83 | #define INLINE __inline | 83 | #define INLINE __inline |
84 | #if 0 //defined(_WIN32) && !defined(_WIN32_WCE) | 84 | #if 0 //defined(_WIN32) && !defined(_WIN32_WCE) |
@@ -110,10 +110,8 @@ extern struct codec_api* ci; | |||
110 | 110 | ||
111 | /* Allow decoding of MAIN profile AAC */ | 111 | /* Allow decoding of MAIN profile AAC */ |
112 | #define MAIN_DEC | 112 | #define MAIN_DEC |
113 | #if MEMORYSIZE > 2 | ||
114 | /* Allow decoding of SSR profile AAC */ | 113 | /* Allow decoding of SSR profile AAC */ |
115 | #define SSR_DEC | 114 | #define SSR_DEC |
116 | #endif | ||
117 | /* Allow decoding of LTP profile AAC */ | 115 | /* Allow decoding of LTP profile AAC */ |
118 | #define LTP_DEC | 116 | #define LTP_DEC |
119 | /* Allow decoding of LD profile AAC */ | 117 | /* Allow decoding of LD profile AAC */ |
@@ -149,9 +147,9 @@ extern struct codec_api* ci; | |||
149 | #undef ERROR_RESILIENCE | 147 | #undef ERROR_RESILIENCE |
150 | #endif | 148 | #endif |
151 | 149 | ||
152 | #if MEMORYSIZE > 2 | 150 | #if CODEC_SIZE >= 0x80000 |
153 | #define SBR_DEC | 151 | #define SBR_DEC |
154 | //#define SBR_LOW_POWER | 152 | //#define SBR_LOW_POWER /* Does not work yet in rockbox. */ |
155 | #define PS_DEC | 153 | #define PS_DEC |
156 | #endif | 154 | #endif |
157 | 155 | ||