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

Fix mp4 url/urn bug.

This commit is contained in:
winlin 2019-12-31 15:35:45 +08:00
parent adad90d316
commit 9cb2449175
4 changed files with 12 additions and 19 deletions

View file

@ -94,6 +94,8 @@ bool SrsBuffer::require(int required_size)
void SrsBuffer::skip(int size)
{
srs_assert(p);
srs_assert(p + size >= bytes);
srs_assert(p + size <= bytes + nb_bytes);
p += size;
}