summaryrefslogtreecommitdiff
path: root/apps/codecs/a52.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/a52.c')
-rw-r--r--apps/codecs/a52.c3
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)
117extern char iramcopy[]; 117extern char iramcopy[];
118extern char iramstart[]; 118extern char iramstart[];
119extern char iramend[]; 119extern char iramend[];
120extern char iedata[];
121extern 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);