]> granicus.if.org Git - libvpx/commitdiff
get_plane_pointers: use u/v planes consistently
authorJohn Koleszar <jkoleszar@google.com>
Wed, 18 Jan 2012 20:50:06 +0000 (12:50 -0800)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 18 Jan 2012 20:50:06 +0000 (12:50 -0800)
The prior commit accidentally used the u plane where it should have
used the v plane.

Change-Id: Ib6c8443b99061536389f05ac25b8e0a307ace637

vp8/encoder/rdopt.h

index c93a69f17f9a0b8eb0e6e8cd45d2ee1b4eaba448..db939f96c3e12bcea641e2a6fc125b59c415f163 100644 (file)
@@ -77,7 +77,7 @@ static void get_plane_pointers(const YV12_BUFFER_CONFIG *fb,
 {
     plane[0] = fb->y_buffer + recon_yoffset;
     plane[1] = fb->u_buffer + recon_uvoffset;
-    plane[2] = fb->u_buffer + recon_uvoffset;
+    plane[2] = fb->v_buffer + recon_uvoffset;
 }