summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {