1
0
Fork 0
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:
winlin 2020-04-30 19:33:08 +08:00
parent efbc51f6be
commit d045ce5d74
4 changed files with 0 additions and 13 deletions

View file

@ -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;