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

Steve Lhomme git at videolan.org
Wed Nov 29 16:25:06 CET 2017


vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Wed Nov 29 09:13:12 2017 +0100| [813bb12b6b591958fad38b23a6db9b2f964da4d9] | committer: Jean-Baptiste Kempf

codec:aom: fix compilation with recent libaom versions

Not sure we should support older versions at this point so no #ifdef

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=813bb12b6b591958fad38b23a6db9b2f964da4d9
---

 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:



More information about the vlc-commits mailing list