On 29/07/14 15:32, Vittorio Giovara wrote:
> From: Carl Eugen Hoyos <[email protected]>
> 
> Signed-off-by: Vittorio Giovara <[email protected]>
> ---
>  libavcodec/tiff.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
> index 73e457f..b12aad9 100644
> --- a/libavcodec/tiff.c
> +++ b/libavcodec/tiff.c
> @@ -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_YA8;
> +        break;
>      case 322:
>          s->avctx->pix_fmt = s->le ? AV_PIX_FMT_YA16LE : AV_PIX_FMT_YA16BE;
>          break;
> 

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

Reply via email to