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
This commit is contained in:
Thom Johansen 2007-02-21 21:46:05 +00:00
parent 1df59e1a09
commit 011bc8934c

View file

@ -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;