[vlc-commits] configure: don't require a too old version of libavutil

Steve Lhomme git at videolan.org
Mon Aug 6 07:08:24 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Aug  3 09:28:18 2018 +0200| [6136a6b971f5d7cacada7d9919c2409c657cf30e] | committer: Steve Lhomme

configure: don't require a too old version of libavutil

Add a comment of which version of a required libavcodec corresponds to what libavutil
version. This way we don't need defines for versions we don't support anymore.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6136a6b971f5d7cacada7d9919c2409c657cf30e
---

 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}"



More information about the vlc-commits mailing list