diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-12-14 17:47:19 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-12-14 17:47:19 +0000 |
commit | 6b450190774accae3bd4185b9c4329acf57b3db9 (patch) | |
tree | ba13c34a2e36934b87ce7a50d9143424a3a9f425 | |
parent | d985d659078d8216becb310ad3237f4024d0f473 (diff) | |
download | rockbox-6b450190774accae3bd4185b9c4329acf57b3db9.tar.gz rockbox-6b450190774accae3bd4185b9c4329acf57b3db9.zip |
Correct decorrelation within flac decoding. Finally fixes FS#12371.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31252 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/codecs/libffmpegFLAC/decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libffmpegFLAC/decoder.c b/apps/codecs/libffmpegFLAC/decoder.c index 2dbedf3110..ec96307383 100644 --- a/apps/codecs/libffmpegFLAC/decoder.c +++ b/apps/codecs/libffmpegFLAC/decoder.c | |||
@@ -530,7 +530,7 @@ int flac_decode_frame(FLACContext *s, | |||
530 | DECORRELATE(a, a-b) | 530 | DECORRELATE(a, a-b) |
531 | break; | 531 | break; |
532 | case RIGHT_SIDE: | 532 | case RIGHT_SIDE: |
533 | DECORRELATE(a+b, a) | 533 | DECORRELATE(a+b, b) |
534 | break; | 534 | break; |
535 | case MID_SIDE: | 535 | case MID_SIDE: |
536 | DECORRELATE( (a-=b>>1) + b, a) | 536 | DECORRELATE( (a-=b>>1) + b, a) |