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

Set Electronic Arts CMV palette opaque.

parent 1567243e
......@@ -141,7 +141,7 @@ static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t
buf += 16;
for (i=pal_start; i<pal_start+pal_count && i<AVPALETTE_COUNT && buf_end - buf >= 3; i++) {
s->palette[i] = AV_RB24(buf);
s->palette[i] = 0xFF << 24 | AV_RB24(buf);
buf += 3;
}
}
......
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