aarch64: Add missing sign extension in ff_h264_idct8_add_neon
authorMartin Storsjö <martin@martin.st>
Fri, 30 Sep 2016 09:05:55 +0000 (12:05 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 10 Oct 2016 11:57:53 +0000 (14:57 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/aarch64/h264idct_neon.S

index 5395e14..ee23977 100644 (file)
@@ -264,6 +264,7 @@ endfunc
 
 function ff_h264_idct8_add_neon, export=1
         movi            v19.8H,   #0
+        sxtw            x2,       w2
         ld1             {v24.8H, v25.8H}, [x1]
         st1             {v19.8H},  [x1],   #16
         st1             {v19.8H},  [x1],   #16