diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2010-09-19 22:09:11 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2010-09-19 22:09:11 +0000 |
commit | cc6ef19dd97a5dbbd901f9dbede5f65ef60c4a6f (patch) | |
tree | 76b10f914589e31f4d1a9a040ed5adcadea6a576 /apps/codecs | |
parent | a742ba46567c34f24390dbe7f8720f01d60296ff (diff) |
Remove some unused variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28118 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libwma/wmadeci.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c index a3edea0e97..f24ac13a0e 100644 --- a/apps/codecs/libwma/wmadeci.c +++ b/apps/codecs/libwma/wmadeci.c @@ -595,15 +595,14 @@ static inline fixed32 pow_m1_4(WMADecodeContext *s, fixed32 x) static void wma_lsp_to_curve_init(WMADecodeContext *s, int frame_len) { - fixed32 wdel, a, b, temp, temp2; + fixed32 wdel, a, b, temp2; int i, m; - wdel = fixdiv32(M_PI_F, itofix32(frame_len)); - temp = fixdiv32(itofix32(1), itofix32(frame_len)); + wdel = fixdiv32(itofix32(1), itofix32(frame_len)); for (i=0; i<frame_len; ++i) { /* TODO: can probably reuse the trig_init values here */ - fsincos((temp*i)<<15, &temp2); + fsincos((wdel*i)<<15, &temp2); /* get 3 bits headroom + 1 bit from not doubleing the values */ s->lsp_cos_table[i] = temp2>>3; @@ -637,7 +636,7 @@ static void wma_lsp_to_curve(WMADecodeContext *s, fixed32 *lsp) { int i, j; - fixed32 p, q, w, v, val_max, temp, temp2; + fixed32 p, q, w, v, val_max, temp2; val_max = 0; for(i=0;i<n;++i) @@ -654,7 +653,6 @@ static void wma_lsp_to_curve(WMADecodeContext *s, { /* w is 5.27 format, lsp is in 16.16, temp2 becomes 5.27 format */ temp2 = ((w - (lsp[j - 1]<<11))); - temp = q; /* q is 16.16 format, temp2 is 5.27, q becomes 16.16 */ q = fixmul32b(q, temp2 )<<4; |