projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5bfca
)
compute_mdct_coefficients(): Kill pointless cast.
author
Andre Noll
<maan@systemlinux.org>
Sat, 7 Nov 2009 14:58:38 +0000
(15:58 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:29 +0000
(19:34 +0100)
(pwd->block_len / 2) is going to be converted to a float also without
this cast.
wmadec_filter.c
patch
|
blob
|
history
diff --git
a/wmadec_filter.c
b/wmadec_filter.c
index a404f35ddd12e556e1e0d65c9270798a764e01c3..f8ea4c83a9328776dd2eaf94f2ca6f5adffdfa94 100644
(file)
--- 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]) {