summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-15 23:42:19 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-15 23:42:19 +0000
commitee46a3d88e8378e58f01ff0d521477ba0b7201fb (patch)
treead63d929d4ebb1f762faf838ee9da965cfc0ab0b /apps/metadata.c
parent9f37f04619feb93a6a5adb36e7db6d7ace3c227c (diff)
downloadrockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.tar.gz
rockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.zip
Moved database builder into a separate directory, and gave it its' own Makefile. Now it compiles cleanly and builds a database if ran in root of music tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19448 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index fa11fa787c..0892fc65fd 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -397,6 +397,7 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
397 return true; 397 return true;
398} 398}
399 399
400#ifndef __PCTOOL__
400#if CONFIG_CODEC == SWCODEC 401#if CONFIG_CODEC == SWCODEC
401void strip_tags(int handle_id) 402void strip_tags(int handle_id)
402{ 403{
@@ -434,6 +435,7 @@ void strip_tags(int handle_id)
434 bufcuttail(handle_id, len); 435 bufcuttail(handle_id, len);
435} 436}
436#endif /* CONFIG_CODEC == SWCODEC */ 437#endif /* CONFIG_CODEC == SWCODEC */
438#endif /* ! __PCTOOL__ */
437 439
438void adjust_mp3entry(struct mp3entry *entry, void *dest, const void *orig) 440void adjust_mp3entry(struct mp3entry *entry, void *dest, const void *orig)
439{ 441{