I420VideoFrame.CreateFrame: Removed unnecessary buffer size arguments.
R=magjed@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/45629004 Cr-Commit-Position: refs/heads/master@{#8732} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8732 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -581,9 +581,8 @@ bool MediaCodecVideoDecoder::DeliverPendingOutputs(
|
||||
// Create yuv420 frame.
|
||||
if (color_format == COLOR_FormatYUV420Planar) {
|
||||
decoded_image_.CreateFrame(
|
||||
stride * slice_height, payload,
|
||||
(stride * slice_height) / 4, payload + (stride * slice_height),
|
||||
(stride * slice_height) / 4,
|
||||
payload,
|
||||
payload + (stride * slice_height),
|
||||
payload + (5 * stride * slice_height / 4),
|
||||
width, height,
|
||||
stride, stride / 2, stride / 2);
|
||||
|
||||
Reference in New Issue
Block a user