From cfc1070586a39b8d9b10b256530affac415df12e Mon Sep 17 00:00:00 2001 From: "pwestin@webrtc.org" Date: Thu, 3 Nov 2011 00:15:44 +0000 Subject: [PATCH] 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 --- src/modules/rtp_rtcp/source/rtp_utility.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/rtp_rtcp/source/rtp_utility.cc b/src/modules/rtp_rtcp/source/rtp_utility.cc index 08be8a07d..5c7e18a70 100644 --- a/src/modules/rtp_rtcp/source/rtp_utility.cc +++ b/src/modules/rtp_rtcp/source/rtp_utility.cc @@ -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.