Remove ViEBase::Init() call from VideoCall.

ViEBase::Init() is a no-op in the current implementation. Keeping it
there is just confusing.

BUG=
R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2029004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4544 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org 2013-08-14 14:27:11 +00:00
parent fd39e13c80
commit 3d0019f09a

View File

@ -29,13 +29,6 @@ VideoCall* VideoCall::Create(const newapi::VideoCall::Config& config) {
webrtc::VideoEngine* video_engine = webrtc::VideoEngine::Create();
assert(video_engine != NULL);
ViEBase* video_engine_base = ViEBase::GetInterface(video_engine);
assert(video_engine_base != NULL);
if (video_engine_base->Init() != 0) {
abort();
}
video_engine_base->Release();
return new internal::VideoCall(video_engine, config);
}
} // namespace newapi