summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 1f24ea7425..bea43407dd 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -671,8 +671,6 @@ static int new_file(int steps)
671 { 671 {
672 int new_tag_idx = tag_write_idx; 672 int new_tag_idx = tag_write_idx;
673 673
674 index = playlist_next(steps);
675
676 if(add_track_to_tag_list(trackname)) 674 if(add_track_to_tag_list(trackname))
677 { 675 {
678 /* Bad mp3 file */ 676 /* Bad mp3 file */
@@ -682,6 +680,8 @@ static int new_file(int steps)
682 } 680 }
683 else 681 else
684 { 682 {
683 index = playlist_next(steps);
684
685 /* skip past id3v2 tag (to an even byte) */ 685 /* skip past id3v2 tag (to an even byte) */
686 lseek(mpeg_file, 686 lseek(mpeg_file,
687 id3tags[new_tag_idx]->id3.id3v2len & ~1, 687 id3tags[new_tag_idx]->id3.id3v2len & ~1,