summaryrefslogtreecommitdiff
path: root/apps/metadata/mpc.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-11-26 18:02:50 +0000
committerThomas Martitz <kugel@rockbox.org>2010-11-26 18:02:50 +0000
commit9393e4c24b4c18d7fe1fa8313008f30370cb726e (patch)
tree746e9210b2144c96b6d58a3f858ccdcb358d854e /apps/metadata/mpc.c
parent756c59a534d2e26b0e62fb94a326182f376b8a97 (diff)
Change how all the metadata parsers are read from a giant swich/case to function pointers via array index. Also unify the api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28672 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/mpc.c')
-rw-r--r--apps/metadata/mpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/metadata/mpc.c b/apps/metadata/mpc.c
index c6f3c3df72..f70e1d35df 100644
--- a/apps/metadata/mpc.c
+++ b/apps/metadata/mpc.c
@@ -211,5 +211,7 @@ bool get_musepack_metadata(int fd, struct mp3entry *id3)
id3->filesize = filesize(fd);
id3->bitrate = id3->filesize * 8 / id3->length;
+
+ read_ape_tags(fd, id3);
return true;
}