aarch64: vp9itxfm: Use the offset parameter to movrel

Message ID 20161219084202.55054-1-martin@martin.st
State Committed
Commit a0c443a3980dc22eb02b067ac4cb9ffa2f9b04d2
Headers show

Commit Message

Martin Storsjö Dec. 19, 2016, 8:42 a.m.
This fixes build failures for iOS, broken since cad42fadcd2c.
---
 libavcodec/aarch64/vp9itxfm_neon.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Luca Barbato Dec. 19, 2016, 12:34 p.m. | #1
On 19/12/2016 09:42, Martin Storsjö wrote:
> This fixes build failures for iOS, broken since cad42fadcd2c.
> ---
>  libavcodec/aarch64/vp9itxfm_neon.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/aarch64/vp9itxfm_neon.S b/libavcodec/aarch64/vp9itxfm_neon.S
> index 053d46f..7ce6df0 100644
> --- a/libavcodec/aarch64/vp9itxfm_neon.S
> +++ b/libavcodec/aarch64/vp9itxfm_neon.S
> @@ -1108,7 +1108,7 @@ function ff_vp9_idct_idct_32x32_add_neon, export=1
>  
>          movrel          x10, idct_coeffs
>          add             x11, x10, #32
> -        movrel          x12, min_eob_idct_idct_32 + 2
> +        movrel          x12, min_eob_idct_idct_32, 2
>  
>          mov             x15, x30
>  
> 

Ok.

Patch

diff --git a/libavcodec/aarch64/vp9itxfm_neon.S b/libavcodec/aarch64/vp9itxfm_neon.S
index 053d46f..7ce6df0 100644
--- a/libavcodec/aarch64/vp9itxfm_neon.S
+++ b/libavcodec/aarch64/vp9itxfm_neon.S
@@ -1108,7 +1108,7 @@  function ff_vp9_idct_idct_32x32_add_neon, export=1
 
         movrel          x10, idct_coeffs
         add             x11, x10, #32
-        movrel          x12, min_eob_idct_idct_32 + 2
+        movrel          x12, min_eob_idct_idct_32, 2
 
         mov             x15, x30