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
This commit is contained in:
Dominik Riebeling 2008-07-26 20:11:58 +00:00
parent ec0177dd12
commit 1bb04334b1

View file

@ -137,15 +137,8 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
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;
}