[FFmpeg-cvslog] arm: use a local label instead of the function symbol in ff_prefetch_arm
Janne Grunau
git at videolan.org
Tue Jul 21 01:59:43 CEST 2015
ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Mon Jul 20 10:46:15 2015 +0200| [9ed6f9a17cc1f7d3699a1223783dadc1ee222069] | committer: Janne Grunau
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 <etix at videolan.org>
Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022
CC: libav-stable at libav.org
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ed6f9a17cc1f7d3699a1223783dadc1ee222069
---
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
More information about the ffmpeg-cvslog
mailing list