From c9ea73e19df55473de9671d8fd3a4fbb7145e986 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 4 Jun 2002 22:05:00 +0000 Subject: NOTE! the 'mp3entry' struct grew quite a bit now, as the previously static buffers were moved into the struct instead and thus we enable the mp3info() function to be called in a re-entrant way. Just don't allocate that struct on the stack without careful consideration! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@896 a1c6a512-1295-4272-9138-f99709370657 --- firmware/id3.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/id3.h') diff --git a/firmware/id3.h b/firmware/id3.h index 3f7be7bd3f..9c8d54aab8 100644 --- a/firmware/id3.h +++ b/firmware/id3.h @@ -29,6 +29,10 @@ struct mp3entry { int id3v1len; int filesize; /* in bytes */ int length; /* song length */ + + /* these following two fields are used for local buffering */ + char id3v2buf[300]; + char id3v1buf[3][32]; }; typedef struct mp3entry mp3entry; -- cgit v1.2.3