From 4fc3aa6ef4cb52f1571e570194975cc18cc41734 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Fri, 10 Jan 2020 16:03:48 +0900 Subject: [PATCH] hls: Check nettle version to ensure AES128 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AES128 support was added since nettle version 3.0 ../subprojects/gst-plugins-bad/ext/hls/gsthlsdemux.h:110:10: error: field ‘ctx’ has incomplete type struct CBC_CTX (struct aes128_ctx, AES_BLOCK_SIZE) aes_ctx; --- ext/hls/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/hls/meson.build b/ext/hls/meson.build index 8c1f982856..3ef45ee039 100644 --- a/ext/hls/meson.build +++ b/ext/hls/meson.build @@ -21,7 +21,7 @@ if hls_option.disabled() endif if ['auto', 'nettle'].contains(hls_crypto) - hls_crypto_dep = dependency('nettle', required : false) + hls_crypto_dep = dependency('nettle', version : '>= 3.0', required : false) if hls_crypto_dep.found() hls_cargs += ['-DHAVE_NETTLE'] endif