[FFmpeg-devel] [PATCH] Be explicit about minimum libvpx version required

Måns Rullgård mans
Sat Jul 3 20:03:31 CEST 2010


Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> writes:

> Hi all!
>
> A small patch to tell people why their libvpx-0.9.0 is not detected.
>
> Tested on Linux with libvpx 0.9.0 and 0.9.1 (and with no libvpx
> installed).
>
> Index: configure
> ===================================================================
> --- configure	(revision 24022)
> +++ configure	(working copy)
> @@ -2555,8 +2555,9 @@
>  enabled libspeex   && require  libspeex speex/speex.h speex_decoder_init -lspeex
>  enabled libtheora  && require  libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
>  enabled libvorbis  && require  libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
> -enabled libvpx     && require2 libvpx "vpx/vpx_decoder.h vpx/vp8dx.h" "vpx_codec_dec_init_ver" -lvpx &&
> -                      require2 libvpx "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_enc_init_ver" -lvpx
> +enabled libvpx     && check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx &&
> +                      check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_enc_init_ver -lvpx ||
> +                      die "ERROR: libvpx version must be >=0.9.1"
>  enabled libx264    && require  libx264 x264.h x264_encoder_encode -lx264 &&
>                        { check_cpp_condition x264.h "X264_BUILD >= 98" ||
>                          die "ERROR: libx264 version must be >= 0.98."; }

OK

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list