diff options
Diffstat (limited to 'apps/codecs/flac.c')
-rw-r--r-- | apps/codecs/flac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c index ae05b0f2aa..a96963dd80 100644 --- a/apps/codecs/flac.c +++ b/apps/codecs/flac.c | |||
@@ -20,6 +20,8 @@ | |||
20 | #include "codeclib.h" | 20 | #include "codeclib.h" |
21 | #include <codecs/libffmpegFLAC/decoder.h> | 21 | #include <codecs/libffmpegFLAC/decoder.h> |
22 | 22 | ||
23 | CODEC_HEADER | ||
24 | |||
23 | #ifdef USE_IRAM | 25 | #ifdef USE_IRAM |
24 | extern char iramcopy[]; | 26 | extern char iramcopy[]; |
25 | extern char iramstart[]; | 27 | extern char iramstart[]; |
@@ -226,10 +228,8 @@ enum codec_status codec_start(struct codec_api* api) | |||
226 | int frame; | 228 | int frame; |
227 | 229 | ||
228 | /* Generic codec initialisation */ | 230 | /* Generic codec initialisation */ |
229 | TEST_CODEC_API(api); | ||
230 | |||
231 | rb = api; | 231 | rb = api; |
232 | ci = (struct codec_api*)api; | 232 | ci = api; |
233 | 233 | ||
234 | #ifdef USE_IRAM | 234 | #ifdef USE_IRAM |
235 | ci->memcpy(iramstart, iramcopy, iramend-iramstart); | 235 | ci->memcpy(iramstart, iramcopy, iramend-iramstart); |