aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-03 04:01:31 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-03 04:01:31 +0000
commit73bcce335f49df5b919ba326765a94fd821561ea (patch)
tree695acf526cf42188b7d24eac51b938ff63b5f904 /src/mp3_decode.c
parent785cdb0114f8cf534ef93e413e49fbfb62521a67 (diff)
downloadmpd-73bcce335f49df5b919ba326765a94fd821561ea.tar.gz
mpd-73bcce335f49df5b919ba326765a94fd821561ea.tar.xz
mpd-73bcce335f49df5b919ba326765a94fd821561ea.zip
when converting from bps -> kbps, divide by 1000, not 1024
git-svn-id: https://svn.musicpd.org/mpd/trunk@592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mp3_decode.c')
-rw-r--r--src/mp3_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c
index 618f6f5ef..84192078b 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -416,7 +416,7 @@ int mp3ChildSendData(mp3DecodeData * data, Buffer * cb, DecoderControl * dc) {
memcpy(cb->chunks+cb->end*CHUNK_SIZE,data->outputBuffer,CHUNK_SIZE);
cb->chunkSize[cb->end] = data->outputPtr-data->outputBuffer;
- cb->bitRate[cb->end] = data->bitRate/1024;
+ cb->bitRate[cb->end] = data->bitRate/1000;
cb->times[cb->end] = data->elapsedTime;
cb->end++;