[FFmpeg-devel] [PATCH 1/2] ARM: fix vp8 neon with pic enabled

Mans Rullgard mans
Sat Feb 26 19:07:29 CET 2011


The assembler emits literal pools too far from the load instructions,
so we must do it explicitly at a suitable location.

Signed-off-by: Mans Rullgard <mans at mansr.com>
---
 libavcodec/arm/vp8dsp_neon.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/arm/vp8dsp_neon.S b/libavcodec/arm/vp8dsp_neon.S
index 01c3959..2333090 100644
--- a/libavcodec/arm/vp8dsp_neon.S
+++ b/libavcodec/arm/vp8dsp_neon.S
@@ -1294,6 +1294,8 @@ function ff_put_vp8_epel8_h4v6_neon, export=1
         pop             {r4,pc}
 endfunc
 
+.ltorg
+
 function ff_put_vp8_epel4_v6_neon, export=1
         sub             r2,  r2,  r3,  lsl #1
         push            {r4,lr}
-- 
1.7.4.1




More information about the ffmpeg-devel mailing list