summaryrefslogtreecommitdiffstats
path: root/remoting/codec
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-07 12:56:57 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-07 12:56:57 +0000
commitc11e43e23e5f5155c445b430d805d861b2fe24b3 (patch)
tree3b61622c72618ed58ec45bfe34bb2ece011ebc4d /remoting/codec
parent36b643215b78f19caa0a98953bed1154b5555fad (diff)
downloadchromium_src-c11e43e23e5f5155c445b430d805d861b2fe24b3.zip
chromium_src-c11e43e23e5f5155c445b430d805d861b2fe24b3.tar.gz
chromium_src-c11e43e23e5f5155c445b430d805d861b2fe24b3.tar.bz2
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
Diffstat (limited to 'remoting/codec')
-rw-r--r--remoting/codec/video_encoder_vp8.cc2
1 files changed, 1 insertions, 1 deletions
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;