summaryrefslogtreecommitdiffstats
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)
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? */
{