]> git.sesse.net Git - ffmpeg/commitdiff
configure: check for a sufficiently recent enough AMF version
authorHendrik Leppkes <h.leppkes@gmail.com>
Sun, 8 Sep 2019 22:49:23 +0000 (00:49 +0200)
committerHendrik Leppkes <h.leppkes@gmail.com>
Mon, 9 Sep 2019 07:56:12 +0000 (09:56 +0200)
Due to the recent addition of Vulkan support to AMF, we require more
recent headers that include the new structures, which have been
available since AMF 1.4.9 released in September 2018.

Fixes Ticket #8125

configure

index 4141c1e8f4b13f4a42c45bdfa613ffc4399eeb3d..8413826f9ea9a6c06dab8582aadae18d01b64b27 100755 (executable)
--- a/configure
+++ b/configure
@@ -6617,7 +6617,7 @@ EOF
 
 enabled amf &&
     check_cpp_condition amf "AMF/core/Version.h" \
-        "(AMF_VERSION_MAJOR << 48 | AMF_VERSION_MINOR << 32 | AMF_VERSION_RELEASE << 16 | AMF_VERSION_BUILD_NUM) >= 0x0001000400040001"
+        "(AMF_VERSION_MAJOR << 48 | AMF_VERSION_MINOR << 32 | AMF_VERSION_RELEASE << 16 | AMF_VERSION_BUILD_NUM) >= 0x0001000400090000"
 
 # Funny iconv installations are not unusual, so check it after all flags have been set
 if enabled libc_iconv; then