Revert 2216 - Fix for receive only channels.

A series of CL:s by Patrik W. is breaking the auto-test. It started with CL 2211, but the later CL:s seems dependent on another. So I decided to go in reverse order and revert all of them.

TBR
Review URL: https://webrtc-codereview.appspot.com/564008

TBR=pwestin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/579011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2221 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
turaj@webrtc.org 2012-05-10 22:52:19 +00:00
parent b06db96840
commit f448ccd16c

View File

@ -206,6 +206,8 @@ int ViEChannelManager::DeleteChannel(int channel_id) {
// Check if other channels are using the same encoder.
if (ChannelUsingViEEncoder(channel_id)) {
// Not supported.
assert(false);
vie_encoder = NULL;
} else {
// Delete later when we've released the critsect.