summaryrefslogtreecommitdiff
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)
554 xing[2] == 'n' && 554 xing[2] == 'n' &&
555 xing[3] == 'g') 555 xing[3] == 'g')
556 { 556 {
557 int i = 8; /* Where to start parsing info */
558
557 /* Yes, it is a VBR file */ 559 /* Yes, it is a VBR file */
558 entry->vbr = true; 560 entry->vbr = true;
559 entry->vbrflags = xing[7]; 561 entry->vbrflags = xing[7];
560 int i = 8; /* Where to start parsing info */
561 562
562 if (entry->vbrflags & VBR_FRAMES_FLAG) /* Is the frame count there? */ 563 if (entry->vbrflags & VBR_FRAMES_FLAG) /* Is the frame count there? */
563 { 564 {