Commit 0b8002fd authored by ami_stuff's avatar ami_stuff Committed by Michael Niedermayer

Add support for QT BMP 1bpp color mode

Fix trac issue #188
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b7903ab1
......@@ -53,6 +53,9 @@ static av_cold int msrle_decode_init(AVCodecContext *avctx)
s->avctx = avctx;
switch (avctx->bits_per_coded_sample) {
case 1:
avctx->pix_fmt = PIX_FMT_MONOWHITE;
break;
case 4:
case 8:
avctx->pix_fmt = PIX_FMT_PAL8;
......
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