summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2007-11-28 05:13:05 +0000
committerBrandon Low <lostlogic@rockbox.org>2007-11-28 05:13:05 +0000
commitc1b718403af42203b3eda3272a8850839849c091 (patch)
tree0b837c66cd3c0e03b1ee33e1e3d5ab927a61a97a
parent3386dd7be90f4f4a23d36359f2052fa834fb20e7 (diff)
downloadrockbox-c1b718403af42203b3eda3272a8850839849c091.tar.gz
rockbox-c1b718403af42203b3eda3272a8850839849c091.zip
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15841 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/metadata.c2
-rw-r--r--apps/metadata.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index 3a0ff574bf..28f5f04aed 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -325,6 +325,7 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
325 return true; 325 return true;
326} 326}
327 327
328#if CONFIG_CODEC == SWCODEC
328void strip_tags(int handle_id) 329void strip_tags(int handle_id)
329{ 330{
330 int i; 331 int i;
@@ -364,3 +365,4 @@ strip_ape_tag:
364 logf("Cutting off APE tag (%ldB)", len); 365 logf("Cutting off APE tag (%ldB)", len);
365 bufcuttail(handle_id, len); 366 bufcuttail(handle_id, len);
366} 367}
368#endif /* CONFIG_CODEC == SWCODEC */
diff --git a/apps/metadata.h b/apps/metadata.h
index 11d85942ed..00a1903a5d 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -24,7 +24,9 @@
24 24
25unsigned int probe_file_format(const char *filename); 25unsigned int probe_file_format(const char *filename);
26bool get_metadata(struct mp3entry* id3, int fd, const char* trackname); 26bool get_metadata(struct mp3entry* id3, int fd, const char* trackname);
27#if CONFIG_CODEC == SWCODEC
27void strip_tags(int handle_id); 28void strip_tags(int handle_id);
29#endif
28 30
29#endif 31#endif
30 32