mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
prevent memory leaks
This commit is contained in:
parent
4733e7f087
commit
4a1c409929
2 changed files with 48 additions and 21 deletions
|
@ -16,6 +16,11 @@ class SrsBuffer;
|
|||
class SrsBitBuffer;
|
||||
class SrsFormat;
|
||||
|
||||
// @see: https://datatracker.ietf.org/doc/html/rfc6184#section-1.3
|
||||
const int SrsAvcNaluHeaderSize = 1;
|
||||
// @see: https://datatracker.ietf.org/doc/html/rfc7798#section-1.1.4
|
||||
const int SrsHevcNaluHeaderSize = 2;
|
||||
|
||||
/**
|
||||
* The video codec id.
|
||||
* @doc video_file_format_spec_v10_1.pdf, page78, E.4.3.1 VIDEODATA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue