summaryrefslogtreecommitdiff
path: root/apps/codecs/wma.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/wma.c')
-rw-r--r--apps/codecs/wma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c
index a0950d4eb0..e740373cfc 100644
--- a/apps/codecs/wma.c
+++ b/apps/codecs/wma.c
@@ -46,6 +46,8 @@ enum codec_status codec_main(void)
46 ci->configure(DSP_SET_SAMPLE_DEPTH, 29); 46 ci->configure(DSP_SET_SAMPLE_DEPTH, 29);
47 47
48next_track: 48next_track:
49 /* Proper reset of the decoder context. */
50 memset(&wmadec, 0, sizeof(wmadec));
49 51
50 /* Wait for the metadata to be read */ 52 /* Wait for the metadata to be read */
51 while (!*ci->taginfo_ready && !ci->stop_codec) 53 while (!*ci->taginfo_ready && !ci->stop_codec)