mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix double free bug for RTP
This commit is contained in:
parent
6a4e043349
commit
32879eaf47
3 changed files with 5 additions and 10 deletions
|
|
@ -84,11 +84,6 @@ public:
|
|||
SrsRtpHeader rtp_header;
|
||||
ISrsEncoder* payload;
|
||||
int padding;
|
||||
public:
|
||||
// User can set an extra payload, we will free it.
|
||||
// For example, when reassemble NALUs by SrsRtpRawNALUs, we can set the extra payload to
|
||||
// SrsRtpRawNALUs, then we can use SrsRtpFUAPayload which never free samples.
|
||||
ISrsEncoder* extra_payload;
|
||||
private:
|
||||
SrsRtpRawPayload* cache_raw;
|
||||
SrsRtpFUAPayload2* cache_fua;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue