From 37e4a928ca78bad9ea5e7ec07c0561c511de8ac9 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Thu, 22 Dec 2011 01:07:12 +0200 Subject: configure, build: require at least Libav 0.7 Require versions of the Libav libraries corresponding to Libav release 0.7. These are: libavutil 51.7.0 libavcodec 53.5.0 libavformat 53.2.0 libswscale 2.0.0 libpostproc 52.0.0 Also disable the fallback to simple header check if these libraries could not be found with pkg-config; now compiling without pkg-config support for these always requires explicitly setting --enable-libav and any needed compiler/linker flags. The simple check would have let compilation proceed even if a version mismatch was detected. --- stream/http.c | 3 --- stream/realrtsp/real.c | 3 --- 2 files changed, 6 deletions(-) (limited to 'stream') diff --git a/stream/http.c b/stream/http.c index 9372cb1262..349a6c483d 100644 --- a/stream/http.c +++ b/stream/http.c @@ -44,9 +44,6 @@ #include "libavutil/base64.h" #include -#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50, 17, 0) -#define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1) -#endif extern int stream_cache_size; extern int network_bandwidth; diff --git a/stream/realrtsp/real.c b/stream/realrtsp/real.c index f7bd0cc5ba..3d06b4d667 100644 --- a/stream/realrtsp/real.c +++ b/stream/realrtsp/real.c @@ -42,9 +42,6 @@ #include "libavutil/base64.h" #include -#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50, 17, 0) -#define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1) -#endif #include "stream/http.h" #include "mp_msg.h" -- cgit v1.2.3