summaryrefslogtreecommitdiff
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
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
-rw-r--r--docs/CREDITS1
-rw-r--r--firmware/export/id3.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/CREDITS b/docs/CREDITS
index c61937adfd..408e8f0b13 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -300,6 +300,7 @@ Gerhard Dirschl
300Ivan Zupan 300Ivan Zupan
301Alexander Papst 301Alexander Papst
302Christoph Reiter 302Christoph Reiter
303Rhino Banga
303The libmad team 304The libmad team
304The wavpack team 305The wavpack team
305The ffmpeg team 306The ffmpeg team
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 @@
23#include "config.h" 23#include "config.h"
24#include "file.h" 24#include "file.h"
25 25
26#define ID3V2_BUF_SIZE 300
27
26/* Audio file types. */ 28/* Audio file types. */
27/* NOTE: The values of the AFMT_* items are used for the %fc tag in the WPS 29/* NOTE: The values of the AFMT_* items are used for the %fc tag in the WPS
28 - so new entries MUST be added to the end to maintain compatibility. 30 - so new entries MUST be added to the end to maintain compatibility.
@@ -185,7 +187,7 @@ struct mp3entry {
185 unsigned char toc[100]; /* table of contents */ 187 unsigned char toc[100]; /* table of contents */
186 188
187 /* these following two fields are used for local buffering */ 189 /* these following two fields are used for local buffering */
188 char id3v2buf[300]; 190 char id3v2buf[ID3V2_BUF_SIZE];
189 char id3v1buf[4][92]; 191 char id3v1buf[4][92];
190 192
191 /* resume related */ 193 /* resume related */