summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-02-21 21:46:05 +0000
committerThom Johansen <thomj@rockbox.org>2007-02-21 21:46:05 +0000
commit011bc8934c2fdea4cb4a43ca6e597b7626a72b46 (patch)
tree938061b71dd88730253fee025b1194379d0758f2
parent1df59e1a0964692835128b78b0ce48dbe8d2d677 (diff)
Fix broken conversion of 16 bit interleaved stereo to internal format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12441 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dsp.c b/apps/dsp.c
index c062f2c088..577910acec 100644
--- a/apps/dsp.c
+++ b/apps/dsp.c
@@ -191,7 +191,7 @@ static int convert_lte_native_interleaved_stereo(
do
{
- short slr = *s++;
+ int32_t slr = *s++;
#ifdef ROCKBOX_LITTLE_ENDIAN
*dl++ = (slr >> 16) << scale;
*dr++ = (int32_t)(short)slr << scale;