[vlc-devel] [PATCH 1/2] configure: don't require a too old version of libavutil

Jean-Baptiste Kempf jb at videolan.org
Fri Aug 3 11:24:32 CEST 2018


What does Debian testing has in their packages version?

On Fri, 3 Aug 2018, at 11:01, Steve Lhomme wrote:
> And comment with version of libavcodec we needs corresponds to what libavutil
> version. This was we don't need defines for versions we don't support anymore.
> ---
>  configure.ac | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 243304fe78..5c30b99963 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2337,10 +2337,12 @@ AS_IF([test "${enable_avcodec}" != "no"], [
>    dnl We need >=57.16.0 from libav or >=57.37.100 from ffmpeg
>    case "${avfork}" in
>      libav) av_codec_ver="57.16.0" ;;
> +    dnl 05f66706d182eb0c36af54d72614bf4c33e957a9  includes libavutil 
> 55.9.0
>      ffmpeg) av_codec_ver="57.37.100" ;;
> +    dnl 7fc329e2dd6226dfecaa4a1d7adf353bf2773726  include libavutil 
> 55.22.101
>      *) AC_MSG_ERROR([Missing libav or FFmpeg. Pass --disable-avcodec to 
> ignore this error.])
>    esac
> -  PKG_CHECK_MODULES(AVCODEC,[libavcodec >= ${av_codec_ver} libavutil >= 
> 52.0.0], [
> +  PKG_CHECK_MODULES(AVCODEC,[libavcodec >= ${av_codec_ver} libavutil >= 
> 55.9.0], [
>      VLC_SAVE_FLAGS
>      CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
>      CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
> -- 
> 2.17.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list