aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtmpproto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-10-14 11:30:12 +0300
committerMartin Storsjö <martin@martin.st>2016-10-14 23:11:17 +0300
commit9f23f77a532ca9c2b7dc4b5328bc413e4f6f5b56 (patch)
treeff9f478d074309cf3c782bd066229b0992e5918b /libavformat/rtmpproto.c
parent8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830 (diff)
downloadffmpeg-9f23f77a532ca9c2b7dc4b5328bc413e4f6f5b56.tar.gz
rtmpproto: Don't include the libavformat version as "clientid"
When acting as server, the server can include a "clientid" property in some status messages. But this should be a unique number identifying the client session, not identifying the server itself. In practice, omitting it works just as well as including this incorrect field. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r--libavformat/rtmpproto.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 4107b461d1..0097841e81 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1874,9 +1874,6 @@ static int write_status(URLContext *s, RTMPPacket *pkt,
ff_amf_write_string(&pp, statusmsg);
ff_amf_write_field_name(&pp, "details");
ff_amf_write_string(&pp, filename);
- ff_amf_write_field_name(&pp, "clientid");
- snprintf(statusmsg, sizeof(statusmsg), "%s", LIBAVFORMAT_IDENT);
- ff_amf_write_string(&pp, statusmsg);
ff_amf_write_object_end(&pp);
spkt.size = pp - spkt.data;