mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor kernel buffer
This commit is contained in:
parent
d045ce5d74
commit
7b5fa0e391
2 changed files with 35 additions and 77 deletions
|
@ -45,10 +45,10 @@ ISrsCodec::~ISrsCodec()
|
|||
{
|
||||
}
|
||||
|
||||
SrsBuffer::SrsBuffer(char* b, int nb_b)
|
||||
SrsBuffer::SrsBuffer(char* b, int nn)
|
||||
{
|
||||
p = bytes = b;
|
||||
nb_bytes = nb_b;
|
||||
nb_bytes = nn;
|
||||
|
||||
// TODO: support both little and big endian.
|
||||
srs_assert(srs_is_little_endian());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue