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:
@@ -636,6 +636,8 @@ int VCMSessionInfo::PrepareForDecode(uint8_t* frame_buffer) {
|
|||||||
}
|
}
|
||||||
if (real_data_bytes == 0) {
|
if (real_data_bytes == 0) {
|
||||||
// Drop the frame since all it contains are zeros.
|
// Drop the frame since all it contains are zeros.
|
||||||
|
for (it = packets_.begin(); it != packets_.end(); ++it)
|
||||||
|
(*it).sizeBytes = 0;
|
||||||
length = 0;
|
length = 0;
|
||||||
}
|
}
|
||||||
return length;
|
return length;
|
||||||
|
|||||||
Reference in New Issue
Block a user