diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2008-06-24 15:17:14 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-06-24 15:17:14 +0000 |
| commit | dab9fa1ef7a547b0f7f3d4605100cd4579570e78 (patch) | |
| tree | 06c7ea41fc1f4a0835a42b05a1172459aae3e831 | |
| parent | 8358dffd11c45fc9bc30413f5559986c77083efc (diff) | |
| download | rockbox-dab9fa1ef7a547b0f7f3d4605100cd4579570e78.zip rockbox-dab9fa1ef7a547b0f7f3d4605100cd4579570e78.tar.gz rockbox-dab9fa1ef7a547b0f7f3d4605100cd4579570e78.tar.bz2 rockbox-dab9fa1ef7a547b0f7f3d4605100cd4579570e78.tar.xz | |
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
| -rw-r--r-- | apps/codecs/libwma/wmadeci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c index 77767d4..20c2218 100644 --- a/apps/codecs/libwma/wmadeci.c +++ b/apps/codecs/libwma/wmadeci.c @@ -1175,7 +1175,7 @@ static int wma_decode_block(WMADecodeContext *s) if (s->version == 1) { - fixed32 tmp = fixsqrt32(itofix32(n4)); + fixed32 tmp = fixtoi32(fixsqrt32(itofix32(n4))); mdct_norm *= tmp; // PJJ : exercise this path } } |