diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-08-29 16:43:11 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-08-29 16:43:11 +0000 |
commit | d4567b64bae0df28d2ab667c7f8b3cd2d9432227 (patch) | |
tree | a0f73f4a368e75ef39f490f4aea4903d3ed50964 /apps/codecs/alac.c | |
parent | 7c8a49dbff219624b764f392e33170befd38f3ab (diff) | |
download | rockbox-d4567b64bae0df28d2ab667c7f8b3cd2d9432227.tar.gz rockbox-d4567b64bae0df28d2ab667c7f8b3cd2d9432227.zip |
Clean up alac/acc demux structure on next track. Solves issues with some files only being playable on direct selection, but not if switched to via playback engine or skip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27939 a1c6a512-1295-4272-9138-f99709370657
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; |