You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Always assume the bmp palette as being opaque.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user