diff options
Diffstat (limited to 'firmware/export/id3.h')
-rw-r--r-- | firmware/export/id3.h | 4 |
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 @@ | |||
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 */ |