On Sun, 20 Jul 2014 23:59:21 +0100, Vittorio Giovara 
<[email protected]> wrote:
> ---
>  libavcodec/tiff.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
> index 69d55c6..71ba5c8 100644
> --- a/libavcodec/tiff.c
> +++ b/libavcodec/tiff.c
> @@ -265,6 +265,9 @@ static int init_image(TiffContext *s, AVFrame *frame)
>      case 162:
>          s->avctx->pix_fmt = AV_PIX_FMT_GRAY8A;
>          break;
> +    case 322:
> +        s->avctx->pix_fmt = s->le ? AV_PIX_FMT_GRAY16ALE : 
> AV_PIX_FMT_GRAY16ABE;
> +        break;
>      case 324:
>          s->avctx->pix_fmt = AV_PIX_FMT_RGBA;
>          break;
> -- 
> 1.8.5.2 (Apple Git-48)
> 

Same as for previous patch.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to