diff options
Diffstat (limited to 'lib/rbcodec/codecs/mpa.c')
-rw-r--r-- | lib/rbcodec/codecs/mpa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/mpa.c b/lib/rbcodec/codecs/mpa.c index 0e7b4faf4f..e6662ddcbe 100644 --- a/lib/rbcodec/codecs/mpa.c +++ b/lib/rbcodec/codecs/mpa.c | |||
@@ -420,7 +420,7 @@ enum codec_status codec_run(void) | |||
420 | break; | 420 | break; |
421 | } | 421 | } |
422 | 422 | ||
423 | ci->set_elapsed((samplesdone * 1000) / current_frequency); | 423 | ci->set_elapsed((samplesdone * 1000LL) / current_frequency); |
424 | ci->seek_complete(); | 424 | ci->seek_complete(); |
425 | init_mad(); | 425 | init_mad(); |
426 | framelength = 0; | 426 | framelength = 0; |
@@ -508,7 +508,7 @@ enum codec_status codec_run(void) | |||
508 | } | 508 | } |
509 | 509 | ||
510 | samplesdone += framelength; | 510 | samplesdone += framelength; |
511 | ci->set_elapsed((samplesdone * 1000) / current_frequency); | 511 | ci->set_elapsed((samplesdone * 1000LL) / current_frequency); |
512 | } | 512 | } |
513 | 513 | ||
514 | /* wait for synth idle - MT only*/ | 514 | /* wait for synth idle - MT only*/ |