1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

merge from srs2

This commit is contained in:
winlin 2015-11-05 14:48:25 +08:00
commit 97f5bb8b99
5 changed files with 5 additions and 2 deletions

View file

@ -105,7 +105,7 @@ bool SrsBuffer::empty()
bool SrsBuffer::require(int required_size)
{
srs_assert(required_size > 0);
srs_assert(required_size >= 0);
return required_size <= nb_bytes - (p - bytes);
}

0
trunk/src/kernel/srs_kernel_stream.cpp Normal file → Executable file
View file