1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00

Set Electronic Arts CMV palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-11-12 20:08:23 +01:00
parent 1567243e8f
commit f628134e77

View File

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