diff options
Diffstat (limited to 'firmware/id3.c')
-rw-r--r-- | firmware/id3.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/firmware/id3.c b/firmware/id3.c index 54f0f970c1..e0e3ca1abf 100644 --- a/firmware/id3.c +++ b/firmware/id3.c | |||
@@ -713,12 +713,10 @@ static int getsonglength(int fd, struct mp3entry *entry) | |||
713 | filetime = entry->filesize/bpf*tpf; | 713 | filetime = entry->filesize/bpf*tpf; |
714 | } | 714 | } |
715 | 715 | ||
716 | DEBUGF("Old ID3V2 length: %x\n", entry->id3v2len); | 716 | /* Update the seek point for the first playable frame */ |
717 | /* Adjust the tag length only if there is a tag present */ | 717 | entry->first_frame_offset = bytecount; |
718 | if(entry->id3v2len || header_found) | 718 | DEBUGF("First frame is at %x\n", entry->first_frame_offset); |
719 | entry->id3v2len = bytecount; | 719 | |
720 | DEBUGF("New ID3V2 length: %x\n", bytecount); | ||
721 | |||
722 | return filetime; | 720 | return filetime; |
723 | } | 721 | } |
724 | 722 | ||