summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-06-28 20:28:43 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-06-28 20:28:43 +0000
commit7a1108227b67fb62f3d3447d795447b5b631ed32 (patch)
tree7f671b359d008bb26ef7ae4beaa8ee572fa5f247 /firmware
parent3f95ea53b0404299eb4068667bb33804387fdda9 (diff)
downloadrockbox-7a1108227b67fb62f3d3447d795447b5b631ed32.tar.gz
rockbox-7a1108227b67fb62f3d3447d795447b5b631ed32.zip
FS#7361 by Rhino Tanga: Move the id3 tag buffer size into a #define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13730 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/id3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index 791f86390e..96a27a55af 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -23,6 +23,8 @@
#include "config.h"
#include "file.h"
+#define ID3V2_BUF_SIZE 300
+
/* Audio file types. */
/* NOTE: The values of the AFMT_* items are used for the %fc tag in the WPS
- so new entries MUST be added to the end to maintain compatibility.
@@ -185,7 +187,7 @@ struct mp3entry {
unsigned char toc[100]; /* table of contents */
/* these following two fields are used for local buffering */
- char id3v2buf[300];
+ char id3v2buf[ID3V2_BUF_SIZE];
char id3v1buf[4][92];
/* resume related */