This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8967 - Database - negative autoscore
|
DetailsHi,
i noticed that some of my songs have a negative autoscore in the database. There seems to be an overflow in the autoscore calculation when the playtime exceeds a certain value (propably (2^31)/100). Here is the code where the overflow seems to happen (the multiplication of the playtime with 100). apps/tagcache.c, line 794 and following: data = 100 * idx->tag_seek[tag_playtime] / idx->tag_seek[tag_length] / idx->tag_seek[tag_playcount]; H300 with r17393 |
This task depends upon