mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
h264 packet done, chrome play well
This commit is contained in:
parent
e831f3254a
commit
da72caf8b9
6 changed files with 169 additions and 297 deletions
|
@ -216,10 +216,10 @@ SrsSharedPtrMessage::SrsSharedPtrPayload::~SrsSharedPtrPayload()
|
|||
srs_freepa(payload);
|
||||
|
||||
for (int i = 0; i < nb_rtp_fragments; ++i) {
|
||||
srs_freep(rtp_fragments[i].bytes);
|
||||
srs_freepa(rtp_fragments[i].bytes);
|
||||
}
|
||||
|
||||
if (nb_rtp_fragments) {
|
||||
if (rtp_fragments != NULL && nb_rtp_fragments > 0) {
|
||||
srs_freepa(rtp_fragments);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue