Apply last fall's exponent fix to WMA v1 files as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16114 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Giacomelli 2008-01-19 23:00:50 +00:00
parent 099c96ebc9
commit 5730da2ba8

View file

@ -858,7 +858,7 @@ static int decode_exp_vlc(WMADecodeContext *s, int ch)
{
last_exp = get_bits(&s->gb, 5) + 10;
/* XXX: use a table */
v = pow_10_to_yover16[last_exp];
v = pow_10_to_yover16_ptr[last_exp];
max_scale = v;
n = *ptr++;
do