aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2013-01-20 14:48:35 +0100
committerJanne Grunau <janne-libav@jannau.net>2013-01-22 13:43:16 +0100
commit1a28948eb3e5aaab1ed5dba7a9bc93b486995954 (patch)
treebababf8cd4fe687224ecf133cf9a4dbf0a2ea9cc /libavcodec
parent01050448cfbc0ba5a3dc83138c44848692be7f9c (diff)
downloadffmpeg-1a28948eb3e5aaab1ed5dba7a9bc93b486995954.tar.gz
videodsp_armv5te: remove #if HAVE_ARMV5TE_EXTERNAL
libavutil/arm/asm.S sets '.arch' depending on HAVE_ARMV5TE so that assembling armv5te code will always succeed even if the default -march flag does not support it. HAVE_ARMV5TE_EXTERNAL tests assembling code with the default arch. Fixes the missing symbol ff_prefetch_arm with --cpu= not including armv5te. CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/arm/videodsp_armv5te.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/arm/videodsp_armv5te.S b/libavcodec/arm/videodsp_armv5te.S
index 96e92d5a73..120069db03 100644
--- a/libavcodec/arm/videodsp_armv5te.S
+++ b/libavcodec/arm/videodsp_armv5te.S
@@ -22,7 +22,6 @@
#include "config.h"
#include "libavutil/arm/asm.S"
-#if HAVE_ARMV5TE_EXTERNAL
function ff_prefetch_arm, export=1
subs r2, r2, #1
pld [r0]
@@ -30,4 +29,3 @@ function ff_prefetch_arm, export=1
bne ff_prefetch_arm
bx lr
endfunc
-#endif