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 monochrome TIFF support
Originally committed as revision 16266 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Kostya Shishkov
17 years ago
parent
4386ed6922
commit
89b4ec5c33
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/tiff.c
+ 3
- 0
libavcodec/tiff.c
View File
@@ -220,6 +220,9 @@ static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
}
}
switch(s->bpp){
case 1:
s->avctx->pix_fmt = PIX_FMT_MONOBLACK;
break;
case 8:
s->avctx->pix_fmt = PIX_FMT_PAL8;
break;
Write
Preview
Loading…
Cancel
Save