From 656477b9306094542cfac7fc3d0a8a4fa0bddc53 Mon Sep 17 00:00:00 2001 From: "mflodman@webrtc.org" Date: Mon, 8 Oct 2012 20:58:37 +0000 Subject: [PATCH] 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 --- src/video_engine/vie_encoder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_engine/vie_encoder.cc b/src/video_engine/vie_encoder.cc index a2058b848..1df51e556 100644 --- a/src/video_engine/vie_encoder.cc +++ b/src/video_engine/vie_encoder.cc @@ -865,7 +865,7 @@ bool ViEEncoder::SetSsrcs(const std::list& 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& ssrcs) { unsigned int ssrc = *it; ssrc_streams_[ssrc] = idx; } - return 0; + return true; } // Called from ViEBitrateObserver.