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:
parent
c4df42be6b
commit
d4e72f4ceb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user