rtmpproto: Lengthen the filename buffer when receiving streams

Some applications such as Adobe FME append lots of parameters
here, making it easily overflow the current limit.

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/62/merge
Martin Storsjö 8 years ago
parent 7395784ba7
commit d6ded94036
  1. 2
      libavformat/rtmpproto.c

@ -1891,7 +1891,7 @@ static int send_invoke_response(URLContext *s, RTMPPacket *pkt)
{ {
RTMPContext *rt = s->priv_data; RTMPContext *rt = s->priv_data;
double seqnum; double seqnum;
char filename[64]; char filename[128];
char command[64]; char command[64];
int stringlen; int stringlen;
char *pchar; char *pchar;

Loading…
Cancel
Save