[FFmpeg-devel] [PATCH]Default to 1bpp when decoding tiff

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Sep 12 09:43:40 CEST 2012


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> +++ b/libavcodec/tiff.c
> @@ -1005,6 +1005,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;

Ping.

Carl Eugen



More information about the ffmpeg-devel mailing list