From 1bb04334b12efee7df3cd1d9a6c06c4ebf065007 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 26 Jul 2008 20:11:58 +0000 Subject: [PATCH] Ogg and Speex have the same metadata handling function so use the same case for both. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18125 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/apps/metadata.c b/apps/metadata.c index 6d8443b63d..17c89f17c1 100644 --- a/apps/metadata.c +++ b/apps/metadata.c @@ -135,17 +135,10 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname) return false; read_ape_tags(fd, id3); break; - + case AFMT_OGG_VORBIS: - if (!get_ogg_metadata(fd, id3))/*detects and handles Ogg/Speex files*/ - { - return false; - } - - break; - case AFMT_SPEEX: - if (!get_ogg_metadata(fd, id3)) + if (!get_ogg_metadata(fd, id3))/*detects and handles Ogg/Speex files*/ { return false; }