summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-17 07:10:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-17 07:10:41 +0000
commit012e688bf989021a6f0aab63c9fdc908bbcd205e (patch)
tree7bca7dd07bed06e46e7b15ac1fa7602a7fe8de28
parentaa287bb8ccf6de699f30031406537489aa863912 (diff)
downloadrockbox-012e688bf989021a6f0aab63c9fdc908bbcd205e.tar.gz
rockbox-012e688bf989021a6f0aab63c9fdc908bbcd205e.zip
no C99 stuff here ;-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2309 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/id3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index b6d9852175..30e74dcdc3 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -554,10 +554,11 @@ static int getsonglength(int fd, struct mp3entry *entry)
xing[2] == 'n' &&
xing[3] == 'g')
{
+ int i = 8; /* Where to start parsing info */
+
/* Yes, it is a VBR file */
entry->vbr = true;
entry->vbrflags = xing[7];
- int i = 8; /* Where to start parsing info */
if (entry->vbrflags & VBR_FRAMES_FLAG) /* Is the frame count there? */
{