[vlc-devel] [PATCH 1/3] contrib: ffmpeg: fix minimum required libavcodec after 53d723d5130ab62cba7215cc54fc961bfee51060

Sean McGovern gseanmcg at gmail.com
Wed Dec 6 04:56:20 CET 2017


---
 contrib/src/ffmpeg/rules.mak | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 4afb87a..8ea53e5 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -8,10 +8,12 @@ ifndef USE_LIBAV
 FFMPEG_HASH=5a93a85fd0ad62c6c9cdf69415959f116c015f0e
 FFMPEG_SNAPURL := http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=$(FFMPEG_HASH);sf=tgz
 FFMPEG_GITURL := http://git.videolan.org/git/ffmpeg.git
+FFMPEG_LAVC_MIN := 57.37.100
 else
 FFMPEG_HASH=e171022c24c42b1e88a51bb3b4c27f13c87c85cb
 FFMPEG_SNAPURL := http://git.libav.org/?p=libav.git;a=snapshot;h=$(FFMPEG_HASH);sf=tgz
 FFMPEG_GITURL := git://git.libav.org/libav.git
+FFMPEG_LAVC_MIN := 57.16.0
 endif
 
 FFMPEG_BASENAME := $(subst .,_,$(subst \,_,$(subst /,_,$(FFMPEG_HASH))))
@@ -205,7 +207,7 @@ endif
 
 # Build
 PKGS += ffmpeg
-ifeq ($(call need_pkg,"libavcodec >= 55.0.0 libavformat >= 53.21.0 libswscale"),)
+ifeq ($(call need_pkg,"libavcodec >= $(FFMPEG_LAVC_MIN) libavformat >= 53.21.0 libswscale"),)
 PKGS_FOUND += ffmpeg
 endif
 
-- 
2.7.4



More information about the vlc-devel mailing list