mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the spaces, no TABS
This commit is contained in:
parent
750f4413c8
commit
1ed5118246
12 changed files with 198 additions and 198 deletions
|
@ -226,7 +226,7 @@ int SrsMpegtsOverUdp::on_udp_bytes(string host, int port, char* buf, int nb_buf)
|
|||
}
|
||||
|
||||
// use stream to parse ts packet.
|
||||
int nb_packet = buffer->length() / SRS_TS_PACKET_SIZE;
|
||||
int nb_packet = buffer->length() / SRS_TS_PACKET_SIZE;
|
||||
for (int i = 0; i < nb_packet; i++) {
|
||||
char* p = buffer->bytes() + (i * SRS_TS_PACKET_SIZE);
|
||||
if ((ret = stream->initialize(p, SRS_TS_PACKET_SIZE)) != ERROR_SUCCESS) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue