aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/vp9dsp_init.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2014-12-26 17:50:38 -0500
committerRonald S. Bultje <rsbultje@gmail.com>2014-12-27 16:55:16 -0500
commitafd8c464b7eaa79b902079be295763469eecbb46 (patch)
tree58ebf874c87f0d4bff351ee1bf23f8df2492058e /libavcodec/x86/vp9dsp_init.c
parentb26bc3520f9ae0f025d2b3787a3fa33febae24af (diff)
downloadffmpeg-afd8c464b7eaa79b902079be295763469eecbb46.tar.gz
vp9/x86: make filter_16_h work on 32-bit.
Diffstat (limited to 'libavcodec/x86/vp9dsp_init.c')
-rw-r--r--libavcodec/x86/vp9dsp_init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/x86/vp9dsp_init.c b/libavcodec/x86/vp9dsp_init.c
index 7bb31ff742..3a306428de 100644
--- a/libavcodec/x86/vp9dsp_init.c
+++ b/libavcodec/x86/vp9dsp_init.c
@@ -342,9 +342,7 @@ av_cold void ff_vp9dsp_init_x86(VP9DSPContext *dsp)
init_subpel2(4, idx, 4, type, opt)
#define init_lpf(opt) do { \
- if (ARCH_X86_64) { \
- dsp->loop_filter_16[0] = ff_vp9_loop_filter_h_16_16_##opt; \
- } \
+ dsp->loop_filter_16[0] = ff_vp9_loop_filter_h_16_16_##opt; \
dsp->loop_filter_16[1] = ff_vp9_loop_filter_v_16_16_##opt; \
dsp->loop_filter_mix2[0][0][0] = ff_vp9_loop_filter_h_44_16_##opt; \
dsp->loop_filter_mix2[0][0][1] = ff_vp9_loop_filter_v_44_16_##opt; \