mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Set Sun Rasterfile palette opaque.
This commit is contained in:
parent
7cd906c179
commit
58c3538839
@ -135,7 +135,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
|
||||
|
||||
ptr = p->data[1];
|
||||
for (x=0; x<len; x++, ptr+=4)
|
||||
*(uint32_t *)ptr = (buf[x]<<16) + (buf[len+x]<<8) + buf[len+len+x];
|
||||
*(uint32_t *)ptr = (0xFF<<24) + (buf[x]<<16) + (buf[len+x]<<8) + buf[len+len+x];
|
||||
}
|
||||
|
||||
buf += maplength;
|
||||
|
Loading…
Reference in New Issue
Block a user