Correct decorrelation within flac decoding. Finally fixes FS#12371.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31252 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-12-14 17:47:19 +00:00
parent d985d65907
commit 6b45019077

View file

@ -530,7 +530,7 @@ int flac_decode_frame(FLACContext *s,
DECORRELATE(a, a-b)
break;
case RIGHT_SIDE:
DECORRELATE(a+b, a)
DECORRELATE(a+b, b)
break;
case MID_SIDE:
DECORRELATE( (a-=b>>1) + b, a)