This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Add support for QT BMP 1bpp color mode
Fix trac issue
#188
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
ami_stuff
Michael Niedermayer
14 years ago
parent
b7903ab16b
commit
0b8002fd68
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/msrle.c
+ 3
- 0
libavcodec/msrle.c
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;
Write
Preview
Loading…
Cancel
Save