shithub: libvpx

Download patch

ref: 8345e76d61fc6feae762208453c3d0c19aa6163d
parent: e0c212646c09f36095ee5aba53b5672bac0f1df1
parent: 9b5df3fabe6466594183a644473519162f16dc77
author: Frank Galligan <fgalligan@google.com>
date: Fri Mar 21 11:24:39 EDT 2014

Merge "Fix libvpx VP9 decoder dr memory errors"

--- a/vp9/common/vp9_reconintra.c
+++ b/vp9/common/vp9_reconintra.c
@@ -347,6 +347,8 @@
   x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x;
   y0 = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)) + y;
 
+  vpx_memset(left_col, 129, 64);
+
   // left
   if (left_available) {
     if (xd->mb_to_bottom_edge < 0) {
@@ -366,8 +368,6 @@
       for (i = 0; i < bs; ++i)
         left_col[i] = ref[i * ref_stride - 1];
     }
-  } else {
-    vpx_memset(left_col, 129, bs);
   }
 
   // TODO(hkuang) do not extend 2*bs pixels for all modes.