summaryrefslogtreecommitdiff
path: root/libavcodec/escape130.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2011-11-30 02:46:35 +0000
committerPaul B Mahol <onemda@gmail.com>2011-12-02 01:19:42 +0000
commit7bd8b70f19642b6ea53e0d36f53fe88edfe0d450 (patch)
tree0e7f003b9eabe035c3cde8aaf640eb8e6f342c6e /libavcodec/escape130.c
parent1e8f77324e025d16586f1b774ac090927152247e (diff)
escape130: fix colors
Diffstat (limited to 'libavcodec/escape130.c')
-rw-r--r--libavcodec/escape130.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/escape130.c b/libavcodec/escape130.c
index 731112edd4..1902a34e70 100644
--- a/libavcodec/escape130.c
+++ b/libavcodec/escape130.c
@@ -249,7 +249,7 @@ static int escape130_decode_frame(AVCodecContext *avctx,
unsigned adjust_index = get_bits(&gb, 3);
static const int8_t adjust[2][8] =
{ { 1, 1, 0, -1, -1, -1, 0, 1 },
- { 0, 1, 1, 0, -1, -2, -1, -1 } };
+ { 0, 1, 1, 1, 0, -1, -1, -1 } };
cb = (cb + adjust[0][adjust_index]) & 31;
cr = (cr + adjust[1][adjust_index]) & 31;
}