Commit cab63025 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/arm/videodsp_armv5te: Fix linking failure with "g++ -shared...

avcodec/arm/videodsp_armv5te: Fix linking failure with "g++ -shared -D__STDC_CONSTANT_MACROS -o test.so ... libavcodec.a"

Tested-by: Andreas Haupt
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cac2295b
...@@ -23,9 +23,10 @@ ...@@ -23,9 +23,10 @@
#include "libavutil/arm/asm.S" #include "libavutil/arm/asm.S"
function ff_prefetch_arm, export=1 function ff_prefetch_arm, export=1
1:
subs r2, r2, #1 subs r2, r2, #1
pld [r0] pld [r0]
add r0, r0, r1 add r0, r0, r1
bne X(ff_prefetch_arm) bne 1b
bx lr bx lr
endfunc endfunc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment