summaryrefslogtreecommitdiff
path: root/apps/metadata
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata')
-rw-r--r--apps/metadata/mp3.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/metadata/mp3.c b/apps/metadata/mp3.c
index 9309242604..feb1a52f77 100644
--- a/apps/metadata/mp3.c
+++ b/apps/metadata/mp3.c
@@ -100,10 +100,9 @@ static int getsonglength(int fd, struct mp3entry *entry)
100 } 100 }
101 } 101 }
102 102
103 entry->bitrate = info.bitrate; 103 entry->bitrate = info.bitrate;
104 entry->frequency = info.frequency; 104 entry->frequency = info.frequency;
105 entry->version = info.version; 105 entry->layer = info.layer;
106 entry->layer = info.layer;
107 switch(entry->layer) { 106 switch(entry->layer) {
108#if CONFIG_CODEC==SWCODEC 107#if CONFIG_CODEC==SWCODEC
109 case 0: 108 case 0:
@@ -149,8 +148,6 @@ static int getsonglength(int fd, struct mp3entry *entry)
149 148
150 memcpy(entry->toc, info.toc, sizeof(info.toc)); 149 memcpy(entry->toc, info.toc, sizeof(info.toc));
151 150
152 entry->vbr_header_pos = info.vbr_header_pos;
153
154 /* Update the seek point for the first playable frame */ 151 /* Update the seek point for the first playable frame */
155 entry->first_frame_offset = bytecount; 152 entry->first_frame_offset = bytecount;
156 logf("First frame is at %lx", entry->first_frame_offset); 153 logf("First frame is at %lx", entry->first_frame_offset);