Fixing Windows build.
Review URL: https://webrtc-codereview.appspot.com/864010 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2888 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
d63b18e67c
commit
656477b930
@ -865,7 +865,7 @@ bool ViEEncoder::SetSsrcs(const std::list<unsigned int>& ssrcs) {
|
|||||||
|
|
||||||
if (codec.numberOfSimulcastStreams > 0 &&
|
if (codec.numberOfSimulcastStreams > 0 &&
|
||||||
ssrcs.size() != codec.numberOfSimulcastStreams) {
|
ssrcs.size() != codec.numberOfSimulcastStreams) {
|
||||||
return -1;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
CriticalSectionScoped cs(data_cs_.get());
|
CriticalSectionScoped cs(data_cs_.get());
|
||||||
@ -877,7 +877,7 @@ bool ViEEncoder::SetSsrcs(const std::list<unsigned int>& ssrcs) {
|
|||||||
unsigned int ssrc = *it;
|
unsigned int ssrc = *it;
|
||||||
ssrc_streams_[ssrc] = idx;
|
ssrc_streams_[ssrc] = idx;
|
||||||
}
|
}
|
||||||
return 0;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called from ViEBitrateObserver.
|
// Called from ViEBitrateObserver.
|
||||||
|
Loading…
Reference in New Issue
Block a user