aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34dsp.c
diff options
context:
space:
mode:
authorJean-Baptiste Kempf <jb@videolan.org>2012-10-05 09:12:04 +0000
committerJanne Grunau <janne-libav@jannau.net>2012-10-10 15:28:50 +0200
commit507dce2536fea4b78a9f4973f77e1fa20cfe1b81 (patch)
tree136511f67a3fc6c4dda44dc9984225eec34f24d3 /libavcodec/rv34dsp.c
parent63a46c6101ffe0ba6a5f6e90d595583ecf943d0d (diff)
downloadffmpeg-507dce2536fea4b78a9f4973f77e1fa20cfe1b81.tar.gz
arm: call arm-specific rv34dsp init functions under if (ARCH_ARM)
Assign NEON specific function pointers after runtime check via av_get_cpu_flags(). Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/rv34dsp.c')
-rw-r--r--libavcodec/rv34dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv34dsp.c b/libavcodec/rv34dsp.c
index 25e8c3d83d..86a2ffd58e 100644
--- a/libavcodec/rv34dsp.c
+++ b/libavcodec/rv34dsp.c
@@ -135,8 +135,8 @@ av_cold void ff_rv34dsp_init(RV34DSPContext *c, DSPContext* dsp) {
c->rv34_idct_add = rv34_idct_add_c;
c->rv34_idct_dc_add = rv34_idct_dc_add_c;
- if (HAVE_NEON)
- ff_rv34dsp_init_neon(c, dsp);
+ if (ARCH_ARM)
+ ff_rv34dsp_init_arm(c, dsp);
if (ARCH_X86)
ff_rv34dsp_init_x86(c, dsp);
}