From 239763e460232e4a924b4fbe09f906a6c1669eac Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 7 Nov 2009 15:58:38 +0100 Subject: [PATCH] compute_mdct_coefficients(): Kill pointless cast. (pwd->block_len / 2) is going to be converted to a float also without this cast. --- wmadec_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmadec_filter.c b/wmadec_filter.c index a404f35d..f8ea4c83 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -727,7 +727,7 @@ static void compute_mdct_coefficients(struct private_wmadec_data *pwd, int bsize, int total_gain, int nb_coefs[MAX_CHANNELS]) { int ch; - float mdct_norm = 1.0 / (float)(pwd->block_len / 2); + float mdct_norm = 1.0 / (pwd->block_len / 2); for (ch = 0; ch < pwd->ahi.channels; ch++) { if (pwd->channel_coded[ch]) { -- 2.39.2