diff options
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index d75ac2085e..e8fd1acbc7 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -775,7 +775,7 @@ static int new_file(int steps) | |||
775 | { | 775 | { |
776 | /* skip past id3v2 tag */ | 776 | /* skip past id3v2 tag */ |
777 | lseek(mpeg_file, | 777 | lseek(mpeg_file, |
778 | id3tags[new_tag_idx]->id3.id3v2len, | 778 | id3tags[new_tag_idx]->id3.first_frame_offset, |
779 | SEEK_SET); | 779 | SEEK_SET); |
780 | id3tags[new_tag_idx]->id3.index = steps; | 780 | id3tags[new_tag_idx]->id3.index = steps; |
781 | id3tags[new_tag_idx]->id3.offset = 0; | 781 | id3tags[new_tag_idx]->id3.offset = 0; |
@@ -967,7 +967,7 @@ static void mpeg_thread(void) | |||
967 | else { | 967 | else { |
968 | /* skip past id3v2 tag */ | 968 | /* skip past id3v2 tag */ |
969 | lseek(mpeg_file, | 969 | lseek(mpeg_file, |
970 | id3tags[tag_read_idx]->id3.id3v2len, | 970 | id3tags[tag_read_idx]->id3.first_frame_offset, |
971 | SEEK_SET); | 971 | SEEK_SET); |
972 | 972 | ||
973 | } | 973 | } |