| Index: media/base/video_frame.cc
|
| diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc
|
| index 2c3fefe1cfb898a2a8679a744bfe2e0a004a3c1a..51269a8b6076736e3b1c03e6fd7e46635901c956 100644
|
| --- a/media/base/video_frame.cc
|
| +++ b/media/base/video_frame.cc
|
| @@ -856,11 +856,8 @@ void VideoFrame::AllocateYUV() {
|
| DCHECK(IsValidPlane(kUPlane, format_));
|
| data_size += strides_[kUPlane] + kFrameSizePadding;
|
|
|
| - // FFmpeg expects the initialize allocation to be zero-initialized. Failure
|
| - // to do so can lead to unitialized value usage. See http://crbug.com/390941
|
| uint8* data = reinterpret_cast<uint8*>(
|
| base::AlignedAlloc(data_size, kFrameAddressAlignment));
|
| - memset(data, 0, data_size);
|
|
|
| for (size_t plane = 0; plane < NumPlanes(format_); ++plane)
|
| data_[plane] = data + offset[plane];
|
|
|