diff options
Diffstat (limited to 'firmware/id3.c')
-rw-r--r-- | firmware/id3.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/id3.c b/firmware/id3.c index bfddf90c6e..0cb7118a19 100644 --- a/firmware/id3.c +++ b/firmware/id3.c | |||
@@ -491,7 +491,7 @@ mp3info(struct mp3entry *entry, char *filename) | |||
491 | memset(entry, 0, sizeof(struct mp3entry)); | 491 | memset(entry, 0, sizeof(struct mp3entry)); |
492 | 492 | ||
493 | entry->title = NULL; | 493 | entry->title = NULL; |
494 | 494 | entry->filesize = getfilesize(fd); | |
495 | entry->id3v2len = getid3v2len(fd); | 495 | entry->id3v2len = getid3v2len(fd); |
496 | if(HASID3V2(entry)) | 496 | if(HASID3V2(entry)) |
497 | setid3v2title(fd, entry); | 497 | setid3v2title(fd, entry); |
@@ -501,8 +501,6 @@ mp3info(struct mp3entry *entry, char *filename) | |||
501 | if(HASID3V1(entry) && !entry->title) | 501 | if(HASID3V1(entry) && !entry->title) |
502 | setid3v1title(fd, entry); | 502 | setid3v1title(fd, entry); |
503 | 503 | ||
504 | entry->filesize = getfilesize(fd); | ||
505 | |||
506 | close(fd); | 504 | close(fd); |
507 | 505 | ||
508 | return false; | 506 | return false; |