[vlc-commits] aom: encoder: fix compatibility older libaom

Tristan Matthews git at videolan.org
Thu Jul 23 02:30:40 CEST 2020


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Jul 22 11:12:32 2020 -0400| [ecccc20e1604aedf8b93bcf75d9a34b507193b5f] | committer: Tristan Matthews

aom: encoder: fix compatibility older libaom

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

 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
  *****************************************************************************/



More information about the vlc-commits mailing list