summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/id3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 3a87fc49c5..2f841a9c46 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -640,7 +640,7 @@ static void setid3v2title(int fd, struct mp3entry *entry)
640 skip it using the total size */ 640 skip it using the total size */
641 641
642 if(global_unsynch && version <= ID3_VER_2_3) { 642 if(global_unsynch && version <= ID3_VER_2_3) {
643 skip_unsynched(fd, totframelen); 643 size -= skip_unsynched(fd, totframelen);
644 } else { 644 } else {
645 if(data_length_ind) 645 if(data_length_ind)
646 totframelen = data_length_ind; 646 totframelen = data_length_ind;