summaryrefslogtreecommitdiff
path: root/firmware/id3.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-04 06:42:51 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-04 06:42:51 +0000
commit434b788a1fe2e874723d17d6872ff0e694892540 (patch)
tree72eab1324e220f14ecab3b2ad37e667928d563cd /firmware/id3.c
parent2e525fe9eda0a160612fba53d22f3719af2ec168 (diff)
Now sets bitrate to VARIABLE_BIT_RATE if VBR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1325 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/id3.c')
-rw-r--r--firmware/id3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 4a40ff89d9..1b6a6920ae 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -501,6 +501,7 @@ getsonglength(int fd, struct mp3entry *entry)
(frame[42] << 8) | frame[43];
filetime = framecount * tpf;
+ entry->bitrate = VARIABLE_BIT_RATE;
}
/* We don't care about the file size and the TOC just yet. Maybe
another time. */