summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2005-09-24 02:12:42 +0000
committerJonas Häggqvist <rasher@rasher.dk>2005-09-24 02:12:42 +0000
commit9f41c6c11e97afaa60f439a63528c617c54ce2c4 (patch)
tree2143d91d165613e357b1460781a89ebcaa610e74
parentbccf58621e7852f747196368c1485a48cd3ecd7b (diff)
downloadrockbox-9f41c6c11e97afaa60f439a63528c617c54ce2c4.tar.gz
rockbox-9f41c6c11e97afaa60f439a63528c617c54ce2c4.tar.bz2
rockbox-9f41c6c11e97afaa60f439a63528c617c54ce2c4.zip
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
-rw-r--r--apps/codecs/libalac/demux.c3
-rw-r--r--docs/CREDITS1
2 files changed, 3 insertions, 1 deletions
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;
diff --git a/docs/CREDITS b/docs/CREDITS
index 5db682eb72..2171cc3228 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -135,3 +135,4 @@ David Dent
Frank Dischner
Liberman Shachar
Stephan Wezel
+Alyssa Milburn