diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-20 14:27:35 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-20 14:27:35 +0000 |
commit | cf2986c68f20e7cfb1c8dbe457a17038c57eff37 (patch) | |
tree | c9b2e49e4a16ce4941db95a5ffa64cb3e55d07b6 /src/mp3_decode.c | |
parent | ffd0ccfc3be26640d2bb237debc249e3c46b4bb8 (diff) | |
download | mpd-cf2986c68f20e7cfb1c8dbe457a17038c57eff37.tar.gz mpd-cf2986c68f20e7cfb1c8dbe457a17038c57eff37.tar.xz mpd-cf2986c68f20e7cfb1c8dbe457a17038c57eff37.zip |
average bitrate for mp4's
git-svn-id: https://svn.musicpd.org/mpd/trunk@325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mp3_decode.c')
-rw-r--r-- | src/mp3_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c index ede0af6e3..ec495b002 100644 --- a/src/mp3_decode.c +++ b/src/mp3_decode.c @@ -409,7 +409,7 @@ int mp3ChildSendData(mp3DecodeData * data, Buffer * cb, DecoderControl * dc) { #endif 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/1000; + cb->bitRate[cb->end] = data->bitRate/1024; cb->times[cb->end] = data->elapsedTime; cb->end++; |