1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00

Add support for QT BMP 1bpp color mode

Fix trac issue #188

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
ami_stuff 2011-05-12 12:16:43 +02:00 committed by Michael Niedermayer
parent b7903ab16b
commit 0b8002fd68

View File

@ -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;