diff options
Diffstat (limited to 'src/audiofile_decode.c')
-rw-r--r-- | src/audiofile_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audiofile_decode.c b/src/audiofile_decode.c index d34c029ee..7cd193581 100644 --- a/src/audiofile_decode.c +++ b/src/audiofile_decode.c @@ -79,7 +79,7 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) cb->totalTime = ((float)frame_count/(float)af->sampleRate); - bitRate = st.st_size*8.0/cb->totalTime/1024.0+0.5; + bitRate = st.st_size*8.0/cb->totalTime/1000.0+0.5; if (af->bits != 8 && af->bits != 16) { ERROR("Only 8 and 16-bit files are supported. %s is %i-bit\n", |