From 90ccd097ffc18ca983274765753732d5eea0774b Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Sun, 30 Oct 2011 00:24:30 +0800 Subject: [PATCH] rfx: fix incorrect offset in rfx_quantization_encode (atong) --- libfreerdp-codec/rfx_quantization.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp-codec/rfx_quantization.c b/libfreerdp-codec/rfx_quantization.c index 1f03c9735..617818f34 100644 --- a/libfreerdp-codec/rfx_quantization.c +++ b/libfreerdp-codec/rfx_quantization.c @@ -74,7 +74,7 @@ void rfx_quantization_encode(sint16* buffer, const uint32* quantization_values) rfx_quantization_encode_block(buffer + 3584, 256, quantization_values[6] - 6); /* HH2 */ rfx_quantization_encode_block(buffer + 3840, 64, quantization_values[2] - 6); /* HL3 */ rfx_quantization_encode_block(buffer + 3904, 64, quantization_values[1] - 6); /* LH3 */ - rfx_quantization_encode_block(buffer + 3868, 64, quantization_values[3] - 6); /* HH3 */ + rfx_quantization_encode_block(buffer + 3968, 64, quantization_values[3] - 6); /* HH3 */ rfx_quantization_encode_block(buffer + 4032, 64, quantization_values[0] - 6); /* LL3 */ /* The coefficients are scaled by << 5 at RGB->YCbCr phase, so we round it back here */