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
tiff: support reading gray+alpha at 8 bits
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
tags/n2.4
Carl Eugen Hoyos
Vittorio Giovara
11 years ago
parent
4de8b60684
commit
b31d76e45f
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
@@ -262,6 +262,9 @@ static int init_image(TiffContext *s, AVFrame *frame)
case 161:
s->avctx->pix_fmt = s->le ? AV_PIX_FMT_GRAY16LE : AV_PIX_FMT_GRAY16BE;
break;
case 162:
s->avctx->pix_fmt = AV_PIX_FMT_GRAY8A;
break;
case 324:
s->avctx->pix_fmt = AV_PIX_FMT_RGBA;
break;
Write
Preview
Loading…
Cancel
Save