diff options
author | Janne Grunau <janne-libav@jannau.net> | 2015-07-20 10:46:15 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2015-07-20 23:10:29 +0200 |
commit | 9ed6f9a17cc1f7d3699a1223783dadc1ee222069 (patch) | |
tree | 0de29c19bcf85306d54c5c8056402616e0d082d4 /libavcodec/arm | |
parent | f56d8d8dd72b1ab52aa814c5a0fccabf8040ef68 (diff) | |
download | ffmpeg-9ed6f9a17cc1f7d3699a1223783dadc1ee222069.tar.gz |
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@videolan.org>
Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/arm')
-rw-r--r-- | libavcodec/arm/videodsp_armv5te.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/arm/videodsp_armv5te.S b/libavcodec/arm/videodsp_armv5te.S index bbd0a61da6..0510019f03 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 |