From 5165c600ebea9a9478ade61108f14be1f334535d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 1 Jul 2015 16:26:53 +0000 Subject: avformat/rtmpproto: increase hardcoded url/path lengths Fixes #4103. Signed-off-by: Paul B Mahol --- libavformat/rtmpproto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat') diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 43ddfe8ecc..0abeadcb3b 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -49,8 +49,8 @@ #endif #define APP_MAX_LENGTH 1024 -#define PLAYPATH_MAX_LENGTH 256 -#define TCURL_MAX_LENGTH 512 +#define PLAYPATH_MAX_LENGTH 512 +#define TCURL_MAX_LENGTH 1024 #define FLASHVER_MAX_LENGTH 64 #define RTMP_PKTDATA_DEFAULT_SIZE 4096 #define RTMP_HEADER 11 -- cgit v1.2.3