From b5f07e86b872564b7b0a934e1346f1ce0ed19c9f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 19 May 2013 14:06:59 +0200 Subject: [PATCH] configure: reject older libswresample mpv still builds with ffmpeg 1.0.x, however libswresample keeps cuasing trouble. In older releases, libswresample simply crashed when downmixing. In somewhat newer versions, it produces distorted output and downmixing isn't even close to correct. With ffmpeg release 1.1 (ffmpeg git tag n1.1), everything seems to work fine. The release uses 0.17.102 as libswresample version, so bump the required minimum version to that. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 2a3f1d2fab..f394e19344 100755 --- a/configure +++ b/configure @@ -2660,8 +2660,8 @@ fi if test "$_resampler" = no ; then - echocheck "libswresample >= 0.15.100" - if pkg_config_add "libswresample >= 0.15.100" ; then + echocheck "libswresample >= 0.17.102" + if pkg_config_add "libswresample >= 0.17.102" ; then _resampler=yes def_resampler='#define CONFIG_LIBSWRESAMPLE' fi