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