summaryrefslogtreecommitdiffstats
path: root/stream/realrtsp/real.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/realrtsp/real.c')
-rw-r--r--stream/realrtsp/real.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/stream/realrtsp/real.c b/stream/realrtsp/real.c
index 6d77157f34..3ddf9a12d0 100644
--- a/stream/realrtsp/real.c
+++ b/stream/realrtsp/real.c
@@ -39,6 +39,12 @@
#include "libavutil/md5.h"
#include "ffmpeg_files/intreadwrite.h"
#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"