avformat/rtmpproto: increase hardcoded url/path lengths
authorPaul B Mahol <onemda@gmail.com>
Wed, 1 Jul 2015 16:26:53 +0000 (16:26 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 1 Jul 2015 20:03:26 +0000 (20:03 +0000)
Fixes #4103.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/rtmpproto.c

index 43ddfe8..0abeadc 100644 (file)
@@ -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