diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-04 06:42:51 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-04 06:42:51 +0000 |
commit | 434b788a1fe2e874723d17d6872ff0e694892540 (patch) | |
tree | 72eab1324e220f14ecab3b2ad37e667928d563cd /firmware/id3.c | |
parent | 2e525fe9eda0a160612fba53d22f3719af2ec168 (diff) | |
download | rockbox-434b788a1fe2e874723d17d6872ff0e694892540.tar.gz rockbox-434b788a1fe2e874723d17d6872ff0e694892540.zip |
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.c | 1 |
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) | |||
501 | (frame[42] << 8) | frame[43]; | 501 | (frame[42] << 8) | frame[43]; |
502 | 502 | ||
503 | filetime = framecount * tpf; | 503 | filetime = framecount * tpf; |
504 | entry->bitrate = VARIABLE_BIT_RATE; | ||
504 | } | 505 | } |
505 | /* We don't care about the file size and the TOC just yet. Maybe | 506 | /* We don't care about the file size and the TOC just yet. Maybe |
506 | another time. */ | 507 | another time. */ |