diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-23 17:24:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-04 00:30:06 +0100 |
commit | 164628e2f7e41947f821fcf0342b97c10b87e6b1 (patch) | |
tree | 99f14b3d2fa321b2eaf71b72031ed85f6acbe123 | |
parent | 044177215e827c6b8555f8cff2450023b8c84acf (diff) | |
download | ffmpeg-164628e2f7e41947f821fcf0342b97c10b87e6b1.tar.gz |
rtmpproto: increase APP_MAX_LENGTHn1.0.5
Fixes second part of Ticket2292
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit da8ef5ac2f1b14f4fe34db72af5d5f8b3c8e2ff9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtmpproto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 090d8ec5bb..f2b3d5fd1c 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -48,7 +48,7 @@ //#define DEBUG -#define APP_MAX_LENGTH 128 +#define APP_MAX_LENGTH 1024 #define PLAYPATH_MAX_LENGTH 256 #define TCURL_MAX_LENGTH 512 #define FLASHVER_MAX_LENGTH 64 @@ -305,7 +305,7 @@ static int gen_connect(URLContext *s, RTMPContext *rt) int ret; if ((ret = ff_rtmp_packet_create(&pkt, RTMP_SYSTEM_CHANNEL, RTMP_PT_INVOKE, - 0, 4096)) < 0) + 0, 4096 + APP_MAX_LENGTH)) < 0) return ret; p = pkt.data; |