Commit 28a11a67 authored by ami_stuff's avatar ami_stuff Committed by Carl Eugen Hoyos

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

Fixes ticket #699.

Patch also provided by Peter Ross.
parent 8dcd2a41
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment