diff options
author | Jean-Baptiste Kempf <jb@videolan.org> | 2012-10-05 09:12:04 +0000 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-10-10 15:28:50 +0200 |
commit | 507dce2536fea4b78a9f4973f77e1fa20cfe1b81 (patch) | |
tree | 136511f67a3fc6c4dda44dc9984225eec34f24d3 /libavcodec/rv40dsp.c | |
parent | 63a46c6101ffe0ba6a5f6e90d595583ecf943d0d (diff) | |
download | ffmpeg-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/rv40dsp.c')
-rw-r--r-- | libavcodec/rv40dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv40dsp.c b/libavcodec/rv40dsp.c index 36188d2b86..c6968d948e 100644 --- a/libavcodec/rv40dsp.c +++ b/libavcodec/rv40dsp.c @@ -605,6 +605,6 @@ av_cold void ff_rv40dsp_init(RV34DSPContext *c, DSPContext* dsp) { if (ARCH_X86) ff_rv40dsp_init_x86(c, dsp); - if (HAVE_NEON) - ff_rv40dsp_init_neon(c, dsp); + if (ARCH_ARM) + ff_rv40dsp_init_arm(c, dsp); } |