Module: libav
Branch: release/11
Commit: 3e0767d72955627608d5e5ddd381c3ecce33e3f1

Author:    Janne Grunau <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Mon Jul 20 10:46:15 2015 +0200

arm: use a local label instead of the function symbol in ff_prefetch_arm

Avoids a relocation which might end out of range for thumb2.

Reported-By: Ludovic Fauvet <[email protected]>
Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022
CC: [email protected]

---

 libavcodec/arm/videodsp_armv5te.S |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/arm/videodsp_armv5te.S 
b/libavcodec/arm/videodsp_armv5te.S
index bbd0a61..0510019 100644
--- a/libavcodec/arm/videodsp_armv5te.S
+++ b/libavcodec/arm/videodsp_armv5te.S
@@ -23,9 +23,10 @@
 #include "libavutil/arm/asm.S"
 
 function ff_prefetch_arm, export=1
+1:
         subs            r2,  r2,  #1
         pld             [r0]
         add             r0,  r0,  r1
-        bne             X(ff_prefetch_arm)
+        bne             1b
         bx              lr
 endfunc

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to