Add return value

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@289 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@google.com 2011-08-02 22:13:36 +00:00
parent c4df42be6b
commit d4e72f4ceb

View File

@ -256,15 +256,14 @@ int RtpFormatVp8::GetFIFlag(bool end_of_fragment) const
if (first_fragment_ && end_of_fragment) {
return 0x0;
}
else if (first_fragment_ && !end_of_fragment) {
if (first_fragment_ && !end_of_fragment) {
return 0x1;
}
else if (!first_fragment_ && !end_of_fragment) {
if (!first_fragment_ && !end_of_fragment) {
return 0x2;
}
else if (!first_fragment_ && end_of_fragment) {
return 0x3;
}
// if (!first_fragment_ && end_of_fragment)
return 0x3;
}
} // namespace webrtc