Skip to content
Snippets Groups Projects
Commit f628134e authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

Set Electronic Arts CMV palette opaque.

parent 1567243e
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t ...@@ -141,7 +141,7 @@ static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t
buf += 16; buf += 16;
for (i=pal_start; i<pal_start+pal_count && i<AVPALETTE_COUNT && buf_end - buf >= 3; i++) { 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; buf += 3;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment