From f50455507e6ae9410a7982b0505600c8aaf455d3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 16 Mar 2014 02:14:18 +0100 Subject: build: drop support for Libav 9 I have no tolerance for this garbage anymore. There are tons of issues with it (see e.g. previous commit), and there is no reason to use it either. Use Libav git, or Libav 10 when it's released. This also drops support for earlier FFmpeg release, which have exactly the same issues as Libav 9. FFmpeg 2.1.4 is still supported, because it's the latest release, and is reasonably recent. (Although this will probably also be dropped as soon as FFmpeg 2.2 is released.) Assumed version table (lots of nonsensical numbers): FFmpeg 2.1.4 FFmpeg (n2.2-rc2) Libav (v10_beta2) lavu 52.48.101 52.66.100 53.3.0 lavc 55.39.101 55.52.102 55.34.1 lavf 55.19.104 55.33.100 55.12.0 lsws 2.5.101 2.5.101 2.1.2 lavi 3.90.100 4.2.100 4.2.0 lswr 0.17.104 0.18.100 - lavr 1.1.0 1.2.0 1.1.0 libpostproc and libavdevice are not interesting. Following this commit, code needed just to support old Libav versions will start to be removed. --- old-configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'old-configure') diff --git a/old-configure b/old-configure index 06f9ee16e1..56b4cdfbdb 100755 --- a/old-configure +++ b/old-configure @@ -2654,7 +2654,7 @@ fi echores "$_lcms2" -all_libav_libs="libavutil >= 52.3.0:libavcodec > 54.34.0:libavformat > 54.19.0:libswscale >= 2.0.0" +all_libav_libs="libavutil >= 52.48.101:libavcodec >= 55.34.1:libavformat >= 55.12.0:libswscale >= 2.1.2" echocheck "Libav ($all_libav_libs)" if test "$ffmpeg" = auto ; then IFS=":" # shell should not be used for programming @@ -2673,9 +2673,9 @@ _avresample_has_set_channel_mapping=no def_libswresample='#define HAVE_LIBSWRESAMPLE 0' def_libavresample='#define HAVE_LIBAVRESAMPLE 0' -echocheck "libavresample >= 1.0.0" +echocheck "libavresample >= 1.1.0" if test "$_disable_avresample" = no ; then - if pkg_config_add "libavresample >= 1.0.0" ; then + if pkg_config_add "libavresample >= 1.1.0" ; then _resampler=yes _avresample=yes def_libavresample='#define HAVE_LIBAVRESAMPLE 1' @@ -2691,8 +2691,8 @@ fi if test "$_resampler" = no ; then - echocheck "libswresample >= 0.17.102" - if pkg_config_add "libswresample >= 0.17.102" ; then + echocheck "libswresample >= 0.17.104" + if pkg_config_add "libswresample >= 0.17.104" ; then _resampler=yes def_libswresample='#define HAVE_LIBSWRESAMPLE 1' fi -- cgit v1.2.3