summaryrefslogtreecommitdiff
path: root/libavformat/rtmpproto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-10-13 15:25:33 +0300
committerMartin Storsjö <martin@martin.st>2016-10-14 23:11:12 +0300
commitd6ded94036e43a04889f4ff2813a7f7dd60b82fe (patch)
tree496446a3a4aca09f40fb53911de34f48dc9a8d03 /libavformat/rtmpproto.c
parent7395784ba72742b6daa62d35db4028e09f3fdf06 (diff)
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>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 64024259e2..8817744e87 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1891,7 +1891,7 @@ static int send_invoke_response(URLContext *s, RTMPPacket *pkt)
{
RTMPContext *rt = s->priv_data;
double seqnum;
- char filename[64];
+ char filename[128];
char command[64];
int stringlen;
char *pchar;