[vlc-devel] [PATCH] aom: encoder: fix compatibility older libaom

Tristan Matthews tmatth at videolan.org
Wed Jul 22 17:15:36 CEST 2020


Good catch, this should address it.

---
 modules/codec/aom.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/codec/aom.c b/modules/codec/aom.c
index d7a2f6da65..2dc88cb47e 100644
--- a/modules/codec/aom.c
+++ b/modules/codec/aom.c
@@ -403,6 +403,10 @@ static void CloseDecoder(vlc_object_t *p_this)
 
 #ifdef ENABLE_SOUT
 
+#ifndef AOM_USAGE_REALTIME
+# define AOM_USAGE_REALTIME 1
+#endif
+
 /*****************************************************************************
  * encoder_sys_t: libaom encoder descriptor
  *****************************************************************************/
-- 
2.25.1



More information about the vlc-devel mailing list