diff options
Diffstat (limited to 'lib/rbcodec/codecs/shorten.c')
-rw-r--r-- | lib/rbcodec/codecs/shorten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/shorten.c b/lib/rbcodec/codecs/shorten.c index f171b69a64..e8d845c18b 100644 --- a/lib/rbcodec/codecs/shorten.c +++ b/lib/rbcodec/codecs/shorten.c | |||
@@ -145,7 +145,7 @@ seek_start: | |||
145 | 145 | ||
146 | /* Update the elapsed-time indicator */ | 146 | /* Update the elapsed-time indicator */ |
147 | samplesdone += nsamples; | 147 | samplesdone += nsamples; |
148 | elapsedtime = (samplesdone*10) / (sc.sample_rate/100); | 148 | elapsedtime = samplesdone*1000LL/sc.sample_rate; |
149 | ci->set_elapsed(elapsedtime); | 149 | ci->set_elapsed(elapsedtime); |
150 | } | 150 | } |
151 | 151 | ||