summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Boot <rotator@gmail.com>2007-03-05 23:46:36 +0000
committerAdam Boot <rotator@gmail.com>2007-03-05 23:46:36 +0000
commite70362d106b38514ae73593b8286b10324a9b559 (patch)
treeff44048fd3e2395dcd0063f95c183dde69cf6e1a
parente889480bbea454e9b9bd11dc966a9f52ad00ed69 (diff)
downloadrockbox-e70362d106b38514ae73593b8286b10324a9b559.tar.gz
rockbox-e70362d106b38514ae73593b8286b10324a9b559.zip
Remove unnecessary dependence, it doesn't make sense to check settings here.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12630 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/metadata.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index 869e4b9b81..dcbe67d956 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -33,7 +33,6 @@
#include "system.h"
#include "cuesheet.h"
#include "structec.h"
-#include "settings.h"
enum tagtype { TAGTYPE_APE = 1, TAGTYPE_VORBIS };
@@ -1947,12 +1946,10 @@ static bool get_spc_metadata(int fd, struct mp3entry* id3)
buf[31] = 0;
p = iso_decode(buf, p, 0, 32);
-#ifndef __PCTOOL__
- if (global_settings.repeat_mode!=REPEAT_ONE && length==0) {
+ if (length==0) {
length=3*60*1000; /* 3 minutes */
fade=5*1000; /* 5 seconds */
}
-#endif
id3->length = length+fade;