summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2009-05-13 17:23:02 +0000
committerMagnus Holmgren <magnushol@gmail.com>2009-05-13 17:23:02 +0000
commit04c2df541bfa4d6a81bd800bb0d5852528ce70a5 (patch)
treebea4668e57fe29b2cace96131e14f584532a80ff
parentb98ac048dfae6170eb4edb72f0d8545ae7c54a41 (diff)
Support longer tags on targets with 'enough' memory (more than 2 MB RAM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20927 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/metadata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index b19098621c..55a5907731 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -147,7 +147,11 @@ struct afmt_entry
/* database of labels and codecs. add formats per above enum */
extern const struct afmt_entry audio_formats[AFMT_NUM_CODECS];
+#if MEMORYSIZE > 2
+#define ID3V2_BUF_SIZE 900
+#else
#define ID3V2_BUF_SIZE 300
+#endif
enum {
ID3_VER_1_0 = 1,