Browse Source

Support decoding of monochrome tiff images without bpp tag.

tags/n1.0
Carl Eugen Hoyos 13 years ago
parent
commit
8e082df0f4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/tiff.c

+ 2
- 0
libavcodec/tiff.c View File

@@ -1008,6 +1008,8 @@ static int decode_frame(AVCodecContext *avctx,
return -1;
}
s->le = le;
// TIFF_BPP is not a required tag and defaults to 1
s->bppcount = s->bpp = 1;
s->invert = 0;
s->compr = TIFF_RAW;
s->fill_order = 0;


Loading…
Cancel
Save