From 7a1108227b67fb62f3d3447d795447b5b631ed32 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Thu, 28 Jun 2007 20:28:43 +0000 Subject: 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 --- firmware/export/id3.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/export/id3.h') 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 */ -- cgit v1.2.3