From e1a8392cae584ddce6a92d88bda47e7f366769cf Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 8 Feb 2011 18:37:05 +0200 Subject: fix compilation with old FFmpeg versions af_lavcac3enc: use old SampleFormat names without AV_ prefix, the latter were only added in 2010-11 vd_ffmpeg: add ifdef around CODEC_ID_LAGARITH use demux_real: use ffmpeg_files/intreadwrite.h stream/http.c, stream/realrtsp/real.c: define AV_BASE64_SIZE macro for old libavutil versions lacking it --- stream/http.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stream/http.c') diff --git a/stream/http.c b/stream/http.c index 9ef5ae8446..9372cb1262 100644 --- a/stream/http.c +++ b/stream/http.c @@ -43,6 +43,11 @@ #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; -- cgit v1.2.3