1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

for bug #186, read the args when discovery it. 2.0.6

This commit is contained in:
winlin 2014-10-24 13:23:52 +08:00
parent 7d70864b33
commit 05cce97140

View file

@ -1877,6 +1877,7 @@ int SrsConnectAppPacket::decode(SrsStream* stream)
// read the instance
if ((ret = any->read(stream)) != ERROR_SUCCESS) {
srs_error("amf0 decode connect args failed. ret=%d", ret);
srs_freep(any);
return ret;
}