[FFmpeg-devel] [PATCH 14/14] avformat/rtmpproto: reserve enough space for statusmsg
Timo Rothenpieler
timo at rothenpieler.org
Thu Dec 12 21:55:39 EET 2024
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index a56fec759f..a5e877cc55 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -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[160];
snprintf(statusmsg, sizeof(statusmsg), "%s is now published", filename);
ret = write_begin(s);
if (ret < 0)
--
2.45.2
More information about the ffmpeg-devel
mailing list