diff options
Diffstat (limited to 'apps/codecs/a52.c')
-rw-r--r-- | apps/codecs/a52.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index ee80f66892..dd504e83fd 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c | |||
@@ -117,6 +117,8 @@ void a52_decode_data(uint8_t *start, uint8_t *end) | |||
117 | extern char iramcopy[]; | 117 | extern char iramcopy[]; |
118 | extern char iramstart[]; | 118 | extern char iramstart[]; |
119 | extern char iramend[]; | 119 | extern char iramend[]; |
120 | extern char iedata[]; | ||
121 | extern char iend[]; | ||
120 | #endif | 122 | #endif |
121 | 123 | ||
122 | /* this is the codec entry point */ | 124 | /* this is the codec entry point */ |
@@ -132,6 +134,7 @@ enum codec_status codec_start(struct codec_api *api) | |||
132 | 134 | ||
133 | #ifdef USE_IRAM | 135 | #ifdef USE_IRAM |
134 | ci->memcpy(iramstart, iramcopy, iramend - iramstart); | 136 | ci->memcpy(iramstart, iramcopy, iramend - iramstart); |
137 | ci->memset(iedata, 0, iend - iedata); | ||
135 | #endif | 138 | #endif |
136 | 139 | ||
137 | ci->configure(CODEC_DSP_ENABLE, (bool *)true); | 140 | ci->configure(CODEC_DSP_ENABLE, (bool *)true); |