From c11e43e23e5f5155c445b430d805d861b2fe24b3 Mon Sep 17 00:00:00 2001 From: "wez@chromium.org" Date: Fri, 7 Sep 2012 12:56:57 +0000 Subject: Fix typo in remoting::VideoEncoderVp8. BUG=146840 Review URL: https://chromiumcodereview.appspot.com/10914124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155369 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/codec/video_encoder_vp8.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting') diff --git a/remoting/codec/video_encoder_vp8.cc b/remoting/codec/video_encoder_vp8.cc index 5779df5..86bb54e 100644 --- a/remoting/codec/video_encoder_vp8.cc +++ b/remoting/codec/video_encoder_vp8.cc @@ -70,7 +70,7 @@ bool VideoEncoderVp8::Init(const SkISize& size) { // to avoid rounding error. const int y_plane_size = image_->w * image_->h; const int uv_width = (image_->w + 1) / 2; - const int uv_height = (image_->w + 1) / 2; + const int uv_height = (image_->h + 1) / 2; const int uv_plane_size = uv_width * uv_height; const int yuv_image_size = y_plane_size + uv_plane_size * 2; -- cgit v1.1