summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-12-22 01:07:12 +0200
committerUoti Urpala <uau@mplayer2.org>2011-12-22 01:27:45 +0200
commit37e4a928ca78bad9ea5e7ec07c0561c511de8ac9 (patch)
tree88386fbcdd4013407666505638038066a1228784 /stream
parent803dc1fb8ac29666c492bd45f6b2568d19167ef4 (diff)
downloadmpv-37e4a928ca78bad9ea5e7ec07c0561c511de8ac9.tar.bz2
mpv-37e4a928ca78bad9ea5e7ec07c0561c511de8ac9.tar.xz
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.
Diffstat (limited to 'stream')
-rw-r--r--stream/http.c3
-rw-r--r--stream/realrtsp/real.c3
2 files changed, 0 insertions, 6 deletions
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 <libavutil/avutil.h>
-#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 <libavutil/avutil.h>
-#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"