You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avformat/rtmpproto: reserve enough space for statusmsg
This commit is contained in:
@ -2004,7 +2004,7 @@ static int send_invoke_response(URLContext *s, RTMPPacket *pkt)
|
||||
pp = spkt.data;
|
||||
ff_amf_write_string(&pp, "onFCPublish");
|
||||
} else if (!strcmp(command, "publish")) {
|
||||
char statusmsg[128];
|
||||
char statusmsg[sizeof(filename) + 32];
|
||||
snprintf(statusmsg, sizeof(statusmsg), "%s is now published", filename);
|
||||
ret = write_begin(s);
|
||||
if (ret < 0)
|
||||
|
Reference in New Issue
Block a user