[FFmpeg-devel] [PATCH] avformat/rtmpproto: increase hardcoded url/path lengths

Paul B Mahol onemda at gmail.com
Wed Jul 1 18:27:31 CEST 2015


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavformat/rtmpproto.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 43ddfe8..0abeadc 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
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list