1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

BMP: Support BMP OS/2 v2 with RLE compression.

Fixes ticket #699.

Patch also provided by Peter Ross.
This commit is contained in:
ami_stuff
2011-12-03 12:34:12 +01:00
committed by Carl Eugen Hoyos
parent 8dcd2a41ec
commit 28a11a67d2

View File

@@ -115,7 +115,7 @@ static int bmp_decode_frame(AVCodecContext *avctx,
depth = bytestream_get_le16(&buf);
if(ihsize == 40)
if(ihsize == 40 || ihsize == 64)
comp = bytestream_get_le32(&buf);
else
comp = BMP_RGB;