Fix encoder uninitialized read errors reported by drmemory
authorYunqing Wang <yunqingwang@google.com>
Wed, 9 Apr 2014 16:59:15 +0000 (09:59 -0700)
committerYunqing Wang <yunqingwang@google.com>
Wed, 9 Apr 2014 16:59:15 +0000 (09:59 -0700)
commit3a6670fcf856ff6b4c59a151c35c98ba7cc7dc76
treee3a2bda6f7a530e0640b917fff27819b3d8148c8
parent0cca5dd8d7bbeb001544d81ccf2112d9f52e7f87
Fix encoder uninitialized read errors reported by drmemory

This patch fixed the uninitialized read errors in Issue 748:
"dr memory VP9 encode errors". In vp9_convolve_avg_sse2,
when width is 4, pavgb reads 8 bytes from dst buffer that is
out of range. An error is reported although the data is not
actually used later. This issue was resolved by preventing
uninitialized reads.

Change-Id: I109a54910aa47139cb13119de86f2062cff207df
vp9/common/x86/vp9_copy_sse2.asm