magjed@webrtc.org 88828e77d9 Fix I420VideoFrame unittests
* Only compare actual pixel data, not the padding between width and stride.
* When creating a frame from raw buffers with excessive size, do not assume that the frame’s allocated size will be as excessive as the input buffers.
* The arrays in TestI420VideoFrame.CopyFrame and TestI420VideoFrame.CloneFrame are too small, and we currently memcpy out of bounds.

I think this CL should land regardless, but the main purpose is to pave the way for for planned changes to I420VideoFrame. See https://review.webrtc.org/38879004.

R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/34199004

Cr-Commit-Position: refs/heads/master@{#8416}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8416 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-18 15:54:10 +00:00
2015-02-05 12:37:42 +00:00
2015-02-18 15:54:10 +00:00
2014-12-15 07:03:04 +00:00
2014-06-17 08:54:03 +00:00
2014-11-04 17:06:31 +00:00
Description
No description provided
108 MiB
Languages
C++ 76%
C 16%
Python 2.3%
Java 2.1%
Objective-C++ 1.5%
Other 1.9%