Commit e18f70c2 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Set Chronomaster DFA palette opaque.

parent 320f0f04
...@@ -339,7 +339,7 @@ static int dfa_decode_frame(AVCodecContext *avctx, ...@@ -339,7 +339,7 @@ static int dfa_decode_frame(AVCodecContext *avctx,
tmp_buf = buf; tmp_buf = buf;
for (i = 0; i < pal_elems; i++) { for (i = 0; i < pal_elems; i++) {
s->pal[i] = bytestream_get_be24(&tmp_buf) << 2; s->pal[i] = bytestream_get_be24(&tmp_buf) << 2;
s->pal[i] |= (s->pal[i] >> 6) & 0x30303; s->pal[i] |= 0xFF << 24 | (s->pal[i] >> 6) & 0x30303;
} }
s->pic.palette_has_changed = 1; s->pic.palette_has_changed = 1;
} else if (chunk_type <= 9) { } else if (chunk_type <= 9) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment