Fix rating on wma

This commit is contained in:
Ron Pedde 2006-05-17 05:53:02 +00:00
parent b48e99dd70
commit 64eed880d3
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ int wma_parse_extended_content_description(int fd,int size, MP3FILE *pmp3) {
}
} else if(strcasecmp(descriptor_name,"wm/shareduserrating")==0) {
/* what a strange rating strategy */
pmp3->rating = atoi(descriptor_int_value);
pmp3->rating = descriptor_int_value;
if(pmp3->rating == 99) {
pmp3->rating = 100;
} else {