summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-03-24 10:31:50 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-03-24 10:31:50 +0000
commit8ab8d7d8ac43bfb87742926c975a9c0307d815a4 (patch)
tree8ff255d7f94255d7e906904e2618f72b0f283438 /firmware
parent051ff0c11fb653eda787f32d3f6666af513129c3 (diff)
downloadrockbox-8ab8d7d8ac43bfb87742926c975a9c0307d815a4.tar.gz
rockbox-8ab8d7d8ac43bfb87742926c975a9c0307d815a4.zip
Don't fail on bitrate 0. Our own recordings have bitrate 0...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/mp3data.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c
index 2c7b8f9e6c..43689b0ef9 100644
--- a/firmware/mp3data.c
+++ b/firmware/mp3data.c
@@ -163,8 +163,6 @@ static bool mp3headerinfo(struct mp3info *info, unsigned long header)
/* Bitrate */
bitindex = (header & 0xf000) >> 12;
info->bitrate = bitrate_table[bittable][info->layer][bitindex];
- if(info->bitrate == 0)
- return false;
/* Sampling frequency */
freqindex = (header & 0x0C00) >> 10;