diff options
Diffstat (limited to 'apps/codecs/mpc.c')
-rw-r--r-- | apps/codecs/mpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index 207a63ce97..1d1ed3a8b7 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c | |||
@@ -20,6 +20,8 @@ | |||
20 | #include "codeclib.h" | 20 | #include "codeclib.h" |
21 | #include <codecs/libmusepack/musepack.h> | 21 | #include <codecs/libmusepack/musepack.h> |
22 | 22 | ||
23 | CODEC_HEADER | ||
24 | |||
23 | mpc_decoder decoder; | 25 | mpc_decoder decoder; |
24 | 26 | ||
25 | /* Our implementations of the mpc_reader callback functions. */ | 27 | /* Our implementations of the mpc_reader callback functions. */ |
@@ -82,7 +84,6 @@ enum codec_status codec_start(struct codec_api *api) | |||
82 | mpc_reader reader; | 84 | mpc_reader reader; |
83 | mpc_streaminfo info; | 85 | mpc_streaminfo info; |
84 | 86 | ||
85 | TEST_CODEC_API(api); | ||
86 | #ifdef USE_IRAM | 87 | #ifdef USE_IRAM |
87 | ci->memcpy(iramstart, iramcopy, iramend - iramstart); | 88 | ci->memcpy(iramstart, iramcopy, iramend - iramstart); |
88 | ci->memset(iedata, 0, iend - iedata); | 89 | ci->memset(iedata, 0, iend - iedata); |