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:
parent
b7903ab16b
commit
0b8002fd68
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user