Browse Source

escape130: fix colors

tags/n0.9
Paul B Mahol 13 years ago
parent
commit
7bd8b70f19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/escape130.c

+ 1
- 1
libavcodec/escape130.c View File

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


Loading…
Cancel
Save