From 9393e4c24b4c18d7fe1fa8313008f30370cb726e Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 26 Nov 2010 18:02:50 +0000 Subject: 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 --- apps/metadata/mpc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/metadata/mpc.c') 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; } -- cgit v1.2.3