Browse Source

Fix Chronomaster DFA palette.

The palette had a blue cast.
tags/n0.9
Carl Eugen Hoyos 13 years ago
parent
commit
320f0f04a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dfa.c

+ 1
- 1
libavcodec/dfa.c View File

@@ -339,7 +339,7 @@ static int dfa_decode_frame(AVCodecContext *avctx,
tmp_buf = buf;
for (i = 0; i < pal_elems; i++) {
s->pal[i] = bytestream_get_be24(&tmp_buf) << 2;
s->pal[i] |= (s->pal[i] >> 6) & 0x333;
s->pal[i] |= (s->pal[i] >> 6) & 0x30303;
}
s->pic.palette_has_changed = 1;
} else if (chunk_type <= 9) {


Loading…
Cancel
Save