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:
parent
ec0177dd12
commit
1bb04334b1
1 changed files with 2 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue