From 9f41c6c11e97afaa60f439a63528c617c54ce2c4 Mon Sep 17 00:00:00 2001 From: Jonas Häggqvist Date: Sat, 24 Sep 2005 02:12:42 +0000 Subject: Workaround for ALAC files that previousy wouldn't play. Libalac now skips unknown chunk IDs. Time display and seeking is broken for those files (the ones that played before still work). Patch by Alyssa Milburn. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7552 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libalac/demux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs/libalac/demux.c') diff --git a/apps/codecs/libalac/demux.c b/apps/codecs/libalac/demux.c index 634dc01ee7..23f6d82622 100644 --- a/apps/codecs/libalac/demux.c +++ b/apps/codecs/libalac/demux.c @@ -497,7 +497,8 @@ static void read_chunk_trak(qtmovie_t *qtmovie, size_t chunk_len) default: // fprintf(stderr, "(trak) unknown chunk id: %c%c%c%c\n", // SPLITFOURCC(sub_chunk_id)); - return; + stream_skip(qtmovie->stream, sub_chunk_len - 8); + break; } size_remaining -= sub_chunk_len; -- cgit v1.2.3