mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Make PAL8 pcx images opaque.
This commit is contained in:
parent
e22eff964f
commit
0b7aec5fa4
@ -71,7 +71,7 @@ static void pcx_palette(const uint8_t **src, uint32_t *dst, unsigned int pallen)
|
||||
unsigned int i;
|
||||
|
||||
for (i=0; i<pallen; i++)
|
||||
*dst++ = bytestream_get_be24(src);
|
||||
*dst++ = 0xFF000000 | bytestream_get_be24(src);
|
||||
if (pallen < 256)
|
||||
memset(dst, 0, (256 - pallen) * sizeof(*dst));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user