mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support build srs-librtmp by VS2015. 2.0.267
This commit is contained in:
parent
c6732d0fbb
commit
08bbbc5414
2 changed files with 5 additions and 3 deletions
|
@ -211,7 +211,8 @@ int SrsPacket::encode_packet(SrsStream* stream)
|
|||
SrsProtocol::AckWindowSize::AckWindowSize()
|
||||
{
|
||||
window = 0;
|
||||
sequence_number = nb_recv_bytes = 0;
|
||||
sequence_number = 0;
|
||||
nb_recv_bytes = 0;
|
||||
}
|
||||
|
||||
SrsProtocol::SrsProtocol(ISrsProtocolReaderWriter* io)
|
||||
|
|
|
@ -72,7 +72,8 @@ void srs_discovery_tc_url(
|
|||
srs_vhost_resolve(vhost, app, param);
|
||||
srs_vhost_resolve(vhost, stream, param);
|
||||
|
||||
if (param == "?vhost="SRS_CONSTS_RTMP_DEFAULT_VHOST) {
|
||||
// There must be a space to make VS2015 happy.
|
||||
if (param == "?vhost=" SRS_CONSTS_RTMP_DEFAULT_VHOST) {
|
||||
param = "";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue