diff options
Diffstat (limited to 'stream/http.c')
-rw-r--r-- | stream/http.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <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; |