vp9: fix overwrite in ff_vp9_ipred_dr_16x16_16_avx2.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 14 Jun 2017 13:44:26 +0000 (09:44 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 14 Jun 2017 15:37:38 +0000 (11:37 -0400)
Fixes trac issue 6459.

libavcodec/x86/vp9intrapred_16bpp.asm

index 764f704..6d4400b 100644 (file)
@@ -1219,9 +1219,7 @@ cglobal vp9_ipred_dr_16x16_16, 4, 5, 6, dst, stride, l, a
     vpalignr                m4, m1, m5, 14
     mova      [dstq+strideq*8], m3                     ; 8
     mova      [dstq+strideq*0], m4                     ; 0
-    sub                   dstq, strideq
     mova     [dst3q+strideq*4], m5                     ; 7
-    mova     [ dstq+strideq*0], m1                     ; -1
     RET
 %endif