Browse Source

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

Fixes ticket #699.

Patch also provided by Peter Ross.
tags/n0.9
ami_stuff Carl Eugen Hoyos 14 years ago
parent
commit
28a11a67d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/bmp.c

+ 1
- 1
libavcodec/bmp.c 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;


Loading…
Cancel
Save