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:
mflodman@webrtc.org 2012-10-08 20:58:37 +00:00
parent d63b18e67c
commit 656477b930

View File

@ -865,7 +865,7 @@ bool ViEEncoder::SetSsrcs(const std::list<unsigned int>& ssrcs) {
if (codec.numberOfSimulcastStreams > 0 &&
ssrcs.size() != codec.numberOfSimulcastStreams) {
return -1;
return false;
}
CriticalSectionScoped cs(data_cs_.get());
@ -877,7 +877,7 @@ bool ViEEncoder::SetSsrcs(const std::list<unsigned int>& ssrcs) {
unsigned int ssrc = *it;
ssrc_streams_[ssrc] = idx;
}
return 0;
return true;
}
// Called from ViEBitrateObserver.