Incorrect iterator++ in ModuleRtpRtcpImpl::RegisterVideoBitrateObserver

The iterator is incremented both in loop header and loop body. Should
only be incremented in header.

BUG=2727
R=mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5295 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
sprang@webrtc.org 2013-12-16 07:43:51 +00:00
parent 41e2615e02
commit 87ad57bc75

View File

@ -1577,7 +1577,6 @@ void ModuleRtpRtcpImpl::RegisterVideoBitrateObserver(
RtpRtcp* module = *it;
if (module)
module->RegisterVideoBitrateObserver(observer);
++it;
}
return;
}