mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add comments for all RTMP packets.
This commit is contained in:
parent
8c493e9896
commit
c457eea692
2 changed files with 31 additions and 12 deletions
|
@ -72,7 +72,7 @@ int MockSrsFileWriter::write(void* buf, size_t count, ssize_t* pnwrite)
|
|||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
int size = srs_min(MAX_MOCK_DATA_SIZE - offset, count);
|
||||
int size = srs_min(MAX_MOCK_DATA_SIZE - offset, (int)count);
|
||||
|
||||
memcpy(data + offset, buf, size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue