]> granicus.if.org Git - libvpx/commitdiff
Fix overlapping writes by copy_and_extend_plane
authorJohn Koleszar <jkoleszar@google.com>
Tue, 2 Apr 2013 21:57:44 +0000 (14:57 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 2 Apr 2013 21:58:10 +0000 (14:58 -0700)
Broken by refactoring commit 180cd5faa52e00a77df13da15d846cfd909fc531

Change-Id: I307f6e54d93219a31e7336f1633103ecb25e4832

vp9/common/vp9_extend.c

index 6aac905378a8ef86c0b9f28243a2dd8aa9bf06f8..1dcf0e19cf6778f2947885c37ba18096e8e87fa0 100644 (file)
@@ -78,7 +78,7 @@ void vp9_copy_and_extend_frame(const YV12_BUFFER_CONFIG *src,
   copy_and_extend_plane(src->v_buffer, src->uv_stride,
                         dst->v_buffer, dst->uv_stride,
                         src->uv_width, src->uv_height,
-                        et_y, el_y, eb_uv, er_uv);
+                        et_uv, el_uv, eb_uv, er_uv);
 }
 
 void vp9_copy_and_extend_frame_with_rect(const YV12_BUFFER_CONFIG *src,