Fixed sanity for min length
Review URL: http://webrtc-codereview.appspot.com/259003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@876 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
075e91fa27
commit
cfc1070586
@ -889,7 +889,7 @@ int ModuleRTPUtility::RTPPayloadParser::ParseVP8FrameSize(
|
||||
// Included in payload header for I-frames.
|
||||
return 0;
|
||||
}
|
||||
if (dataLength < 10)
|
||||
if (dataLength < 7)
|
||||
{
|
||||
// For an I-frame we should always have the uncompressed VP8 header
|
||||
// in the beginning of the partition.
|
||||
|
Loading…
Reference in New Issue
Block a user