[FFmpeg-cvslog] configure: Check for x265_api_get

Derek Buitenhuis git at videolan.org
Sat Jun 27 12:52:13 CEST 2015


ffmpeg | branch: release/2.7 | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Fri Jun 26 14:05:00 2015 +0100| [6ff54eb87bd011a97e3b153feba7699455a3365a] | committer: Derek Buitenhuis

configure: Check for x265_api_get

Any other x265 symbol may not exported, e.g. if the build is a
multilib (10-bit and 8-bit in one) build.

This is the only symbol we directly call, and is available in the
build number we check for.

Fixes the configure check on multilib x265 builds.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
(cherry picked from commit f4be604f1c4d5cb6480c81c671d646cc16b02017)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6ff54eb87bd011a97e3b153feba7699455a3365a
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 3960b73..806e2e9 100755
--- a/configure
+++ b/configure
@@ -5157,7 +5157,7 @@ enabled libx264           && { use_pkg_config x264 "stdint.h x264.h" x264_encode
                                  warn "using libx264 without pkg-config"; } } &&
                              { check_cpp_condition x264.h "X264_BUILD >= 118" ||
                                die "ERROR: libx264 must be installed and version must be >= 0.118."; }
-enabled libx265           && require_pkg_config x265 x265.h x265_encoder_encode &&
+enabled libx265           && require_pkg_config x265 x265.h x265_api_get &&
                              { check_cpp_condition x265.h "X265_BUILD >= 57" ||
                                die "ERROR: libx265 version must be >= 57."; }
 enabled libxavs           && require libxavs xavs.h xavs_encoder_encode -lxavs



More information about the ffmpeg-cvslog mailing list