mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
commit
9a0a8affc5
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ int SrsFastBuffer::grow(ISrsBufferReader* reader, int required_size)
|
||||||
// we just move the ptr to next.
|
// we just move the ptr to next.
|
||||||
srs_assert((int)nread > 0);
|
srs_assert((int)nread > 0);
|
||||||
end += nread;
|
end += nread;
|
||||||
|
max_to_read -= nread;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue