aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 5898d074d..d588165b4 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -375,7 +375,7 @@ int getMp3TotalTime(char * file) {
initMp3DecodeData(&data);
if(decodeFirstFrame(&data)<0) ret = -1;
- else ret = data.totalTime;
+ else ret = data.totalTime+0.5;
mp3DecodeDataFinalize(&data);
return ret;