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

fix compile warning.

This commit is contained in:
xiaozhihong 2020-04-01 14:56:31 +08:00
parent 4f671b1de2
commit bfd8971db8
4 changed files with 4 additions and 4 deletions

View file

@ -976,7 +976,7 @@ srs_error_t SrsGoApiRtcPlay::exchange_sdp(const std::string& app, const std::str
local_sdp.group_policy_ = "BUNDLE";
for (int i = 0; i < remote_sdp.media_descs_.size(); ++i) {
for (size_t i = 0; i < remote_sdp.media_descs_.size(); ++i) {
const SrsMediaDesc& remote_media_desc = remote_sdp.media_descs_[i];
if (remote_media_desc.is_audio()) {