[2/4] aarch64: Add a missing sign extension in ff_h264_idct8_add_neon

Message ID 1475227335-17098-2-git-send-email-martin@martin.st
State Committed
Commit 9b2ccafb480c94fd09cfb24306d5296dc013cf5b
Headers show

Commit Message

Martin Storsjö Sept. 30, 2016, 9:22 a.m.
---
 libavcodec/aarch64/h264idct_neon.S | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/libavcodec/aarch64/h264idct_neon.S b/libavcodec/aarch64/h264idct_neon.S
index 5395e14..ee23977 100644
--- a/libavcodec/aarch64/h264idct_neon.S
+++ b/libavcodec/aarch64/h264idct_neon.S
@@ -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