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

Paul B Mahol git at videolan.org
Wed Jul 1 22:04:19 CEST 2015


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jul  1 16:26:53 2015 +0000| [5165c600ebea9a9478ade61108f14be1f334535d] | committer: Paul B Mahol

avformat/rtmpproto: increase hardcoded url/path lengths

Fixes #4103.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5165c600ebea9a9478ade61108f14be1f334535d
---

 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



More information about the ffmpeg-cvslog mailing list