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:
parent
1567243e8f
commit
f628134e77
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user