On 10/06/14 23:49, Vittorio Giovara wrote:
> ---
> This fixes discovery when libx264 is compiled statically with opencl.
> Cheers,
> Vittorio
>
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 8359c68..f20f3b5 100755
> --- a/configure
> +++ b/configure
> @@ -4096,7 +4096,7 @@ enabled libvpx && {
> enabled libvpx_vp9_encoder && { check_lib2 "vpx/vpx_encoder.h
> vpx/vp8cx.h" "vpx_codec_vp9_cx" -lvpx || disable libvpx_vp9_encoder; } }
> enabled libwavpack && require libwavpack wavpack/wavpack.h
> WavpackOpenFileOutput -lwavpack
> enabled libwebp && require_pkg_config libwebp webp/encode.h
> WebPGetEncoderVersion
> -enabled libx264 && require libx264 x264.h x264_encoder_encode
> -lx264 &&
> +enabled libx264 && require_pkg_config x264 "stdint.h x264.h"
> x264_encoder_encode &&
> { check_cpp_condition x264.h "X264_BUILD >=
> 118" ||
> die "ERROR: libx264 version must be >=
> 0.118."; }
> enabled libx265 && require_pkg_config x265 x265.h
> x265_encoder_encode &&
>
Fine for me.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel