[vlc-devel] [PATCH] codec:aom: fix compilation with recent libaom versions

Steve Lhomme robux4 at gmail.com
Wed Nov 29 09:13:12 CET 2017


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:
             v->space = COLOR_SPACE_BT2020;
             break;
         default:
-- 
2.15.0



More information about the vlc-devel mailing list