summaryrefslogtreecommitdiffstats
path: root/apps/metadata/mp3.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-27 20:49:08 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-27 20:49:08 +0000
commit41658bd07a1bc7b48ef12b356f67f11225593ddd (patch)
treeadc3d80e944a0c541c9ed483df4f1f528bdab5e1 /apps/metadata/mp3.c
parent883ff8507e42f7fbba6416e60fb116164219aa5f (diff)
downloadrockbox-41658bd07a1bc7b48ef12b356f67f11225593ddd.tar.gz
rockbox-41658bd07a1bc7b48ef12b356f67f11225593ddd.zip
Remove some useless code and variables in the area of metadata parsing. Bump codec API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29438 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/mp3.c')
-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)
}
}
- entry->bitrate = info.bitrate;
+ entry->bitrate = info.bitrate;
entry->frequency = info.frequency;
- entry->version = info.version;
- entry->layer = info.layer;
+ entry->layer = info.layer;
switch(entry->layer) {
#if CONFIG_CODEC==SWCODEC
case 0:
@@ -149,8 +148,6 @@ static int getsonglength(int fd, struct mp3entry *entry)
memcpy(entry->toc, info.toc, sizeof(info.toc));
- entry->vbr_header_pos = info.vbr_header_pos;
-
/* Update the seek point for the first playable frame */
entry->first_frame_offset = bytecount;
logf("First frame is at %lx", entry->first_frame_offset);