summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libwma/wmadata.h2
-rw-r--r--apps/codecs/libwma/wmadeci.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libwma/wmadata.h b/apps/codecs/libwma/wmadata.h
index 00b0a13c0d..343b6e9e92 100644
--- a/apps/codecs/libwma/wmadata.h
+++ b/apps/codecs/libwma/wmadata.h
@@ -1479,7 +1479,7 @@ const fixed64 pow_table[] =
*/
const fixed32 pow_10_to_yover16[] ICONST_ATTR=
{
- /*60egative indicies (-60 to -1)*/
+ /*60 negative indicies (-60 to -1)*/
0xc, 0xd, 0x10, 0x12, 0x15, 0x18, 0x1c, 0x20, 0x25, 0x2b, 0x31, 0x39, 0x42,
0x4c, 0x57, 0x65, 0x75, 0x87, 0x9b, 0xb3, 0xcf, 0xef, 0x114, 0x13f, 0x171,
0x1aa, 0x1eb, 0x238, 0x28f, 0x2f5, 0x36a, 0x3f1, 0x48d, 0x542, 0x612, 0x703,
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c
index f8fabd3325..77767d40df 100644
--- a/apps/codecs/libwma/wmadeci.c
+++ b/apps/codecs/libwma/wmadeci.c
@@ -851,8 +851,8 @@ static int decode_exp_vlc(WMADecodeContext *s, int ch)
fixed32 v, max_scale;
fixed32 *q,*q_end;
- /*accommodate the 16 negative indices */
- const fixed32 *pow_10_to_yover16_ptr = &pow_10_to_yover16[16];
+ /*accommodate the 60 negative indices */
+ const fixed32 *pow_10_to_yover16_ptr = &pow_10_to_yover16[61];
band_ptr = s->exponent_bands[s->frame_len_bits - s->block_len_bits];
ptr = band_ptr;