aboutsummaryrefslogtreecommitdiffstats
path: root/src/aac_decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/aac_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aac_decode.c b/src/aac_decode.c
index 0610b774a..1c0f867d9 100644
--- a/src/aac_decode.c
+++ b/src/aac_decode.c
@@ -357,7 +357,7 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
if(sampleCount>0) {
bitRate = frameInfo.bytesconsumed*8.0*
frameInfo.channels*sampleRate/
- frameInfo.samples/1024+0.5;
+ frameInfo.samples/1000+0.5;
time+= (float)(frameInfo.samples)/frameInfo.channels/
sampleRate;
}