Fix session_info_unittest error.

BUG=
TEST=

Review URL: http://webrtc-codereview.appspot.com/324009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1182 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org 2011-12-14 10:25:38 +00:00
parent 0c40d3315f
commit ef5247b5b1

View File

@ -636,6 +636,8 @@ int VCMSessionInfo::PrepareForDecode(uint8_t* frame_buffer) {
}
if (real_data_bytes == 0) {
// Drop the frame since all it contains are zeros.
for (it = packets_.begin(); it != packets_.end(); ++it)
(*it).sizeBytes = 0;
length = 0;
}
return length;