rtmpproto: increase APP_MAX_LENGTH

Fixes second part of Ticket2292

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-02-23 17:24:15 +01:00
parent 02ac3398eb
commit da8ef5ac2f
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,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
@ -312,7 +312,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;