mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
forget delete memset
at last modify,forget delete memset(payload, 0, size);
This commit is contained in:
parent
81e085dd1b
commit
490033f601
1 changed files with 0 additions and 1 deletions
|
@ -665,7 +665,6 @@ int SrsSource::on_meta_data(SrsCommonMessage* msg, SrsOnMetaDataPacket* metadata
|
|||
srs_verbose("get metadata size success.");
|
||||
|
||||
char* payload = NULL;
|
||||
memset(payload, 0, size);
|
||||
if ((ret = metadata->encode(size, payload)) != ERROR_SUCCESS) {
|
||||
srs_error("encode metadata error. ret=%d", ret);
|
||||
srs_freepa(payload);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue