diff options
Diffstat (limited to 'apps/codecs/alac.c')
-rw-r--r-- | apps/codecs/alac.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c index ebcc657ed7..003d222f00 100644 --- a/apps/codecs/alac.c +++ b/apps/codecs/alac.c | |||
@@ -49,6 +49,8 @@ enum codec_status codec_main(void) | |||
49 | 49 | ||
50 | next_track: | 50 | next_track: |
51 | 51 | ||
52 | /* Clean and initialize decoder structures */ | ||
53 | memset(&demux_res , 0, sizeof(demux_res)); | ||
52 | if (codec_init()) { | 54 | if (codec_init()) { |
53 | LOGF("ALAC: Error initialising codec\n"); | 55 | LOGF("ALAC: Error initialising codec\n"); |
54 | retval = CODEC_ERROR; | 56 | retval = CODEC_ERROR; |