diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2012-01-04 20:33:34 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2012-01-04 20:33:34 +0000 |
commit | fd5524ff92b49d9fb14d3feaca4d26d86a05b2b2 (patch) | |
tree | 517987fdc90d432b098868d604374a20c36ac9a9 /apps/codecs/aac.c | |
parent | 61f999a16e601aa0cf61a342654b5574a626f7c7 (diff) | |
download | rockbox-fd5524ff92b49d9fb14d3feaca4d26d86a05b2b2.tar.gz rockbox-fd5524ff92b49d9fb14d3feaca4d26d86a05b2b2.zip |
AAC/M4A: Playback time wrapped after 2 hours and 42 minutes. Increase the wrap limit to about 27 hours.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31581 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/aac.c')
-rw-r--r-- | apps/codecs/aac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c index f1e81bad81..365dca804d 100644 --- a/apps/codecs/aac.c +++ b/apps/codecs/aac.c @@ -266,7 +266,8 @@ enum codec_status codec_run(void) framelength); sound_samples_done += framelength; /* Update the elapsed-time indicator */ - elapsed_time = (sound_samples_done * 10) / (ci->id3->frequency / 100); + elapsed_time = ((uint64_t) sound_samples_done * 1000) / + ci->id3->frequency; ci->set_elapsed(elapsed_time); } |