mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Always assume the bmp palette as being opaque.
This commit is contained in:
parent
f41a6c8f3a
commit
3a15051aba
@ -247,7 +247,7 @@ static int bmp_decode_frame(AVCodecContext *avctx,
|
||||
((uint32_t*)p->data[1])[i] = (0xff<<24) | bytestream_get_le24(&buf);
|
||||
}else{
|
||||
for(i = 0; i < colors; i++)
|
||||
((uint32_t*)p->data[1])[i] = bytestream_get_le32(&buf);
|
||||
((uint32_t*)p->data[1])[i] = 0xFFU << 24 | bytestream_get_le32(&buf);
|
||||
}
|
||||
buf = buf0 + hsize;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user