From 64eed880d336a1770c1c23f503b4794f5d8992d6 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Wed, 17 May 2006 05:53:02 +0000 Subject: [PATCH] Fix rating on wma --- src/scan-wma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scan-wma.c b/src/scan-wma.c index c753b549..ceb16552 100644 --- a/src/scan-wma.c +++ b/src/scan-wma.c @@ -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 {