[vlc-devel] [PATCH] codec:aom: fix compilation with recent libaom versions
Tristan Matthews
tmatth at videolan.org
Wed Nov 29 09:18:14 CET 2017
Hi,
On Wed, Nov 29, 2017 at 3:13 AM, Steve Lhomme <robux4 at gmail.com> wrote:
> Not sure we should support older versions at this point so no #ifdef
> ---
> modules/codec/aom.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/modules/codec/aom.c b/modules/codec/aom.c
> index 64a378816c..946a0c3a5b 100644
> --- a/modules/codec/aom.c
> +++ b/modules/codec/aom.c
> @@ -208,7 +208,8 @@ static int Decode(decoder_t *dec, block_t *block)
> case AOM_CS_SMPTE_240:
> v->space = COLOR_SPACE_BT601;
> break;
> - case AOM_CS_BT_2020:
> + case AOM_CS_BT_2020_CL:
> + case AOM_CS_BT_2020_NCL:
LGTM.
Best,
-t
> v->space = COLOR_SPACE_BT2020;
> break;
> default:
> --
> 2.15.0
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list