forked from len0rd/rockbox
Fix for WMAv1 decoding suggested by Rafael Carre. I don't think anyone out there will ever use V1, but its worth having correct code for its own sake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17782 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8358dffd11
commit
dab9fa1ef7
1 changed files with 1 additions and 1 deletions
|
|
@ -1175,7 +1175,7 @@ static int wma_decode_block(WMADecodeContext *s)
|
||||||
|
|
||||||
if (s->version == 1)
|
if (s->version == 1)
|
||||||
{
|
{
|
||||||
fixed32 tmp = fixsqrt32(itofix32(n4));
|
fixed32 tmp = fixtoi32(fixsqrt32(itofix32(n4)));
|
||||||
mdct_norm *= tmp; // PJJ : exercise this path
|
mdct_norm *= tmp; // PJJ : exercise this path
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue