diff options
author | Martin Storsjö <martin@martin.st> | 2012-07-04 22:25:53 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-05 09:39:01 +0300 |
commit | 07eeeb1d4fa6dea0fb3ad7cd11859db760a76528 (patch) | |
tree | 99846da20549585c3c4295e098024c0b12456a7f /libavcodec | |
parent | 7c29377b702783680b223a12503df784b1808086 (diff) | |
download | ffmpeg-07eeeb1d4fa6dea0fb3ad7cd11859db760a76528.tar.gz |
vp8: Add ifdef guards around the sse2 loopfilter in the sse2slow branch too
This was missed in the the previous commit in 70a1c800.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/vp8dsp-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/vp8dsp-init.c b/libavcodec/x86/vp8dsp-init.c index a0e8f9be1f..589804fa34 100644 --- a/libavcodec/x86/vp8dsp-init.c +++ b/libavcodec/x86/vp8dsp-init.c @@ -389,11 +389,13 @@ av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c) c->vp8_v_loop_filter_simple = ff_vp8_v_loop_filter_simple_sse2; +#if ARCH_X86_64 || HAVE_ALIGNED_STACK c->vp8_v_loop_filter16y_inner = ff_vp8_v_loop_filter16y_inner_sse2; c->vp8_v_loop_filter8uv_inner = ff_vp8_v_loop_filter8uv_inner_sse2; c->vp8_v_loop_filter16y = ff_vp8_v_loop_filter16y_mbedge_sse2; c->vp8_v_loop_filter8uv = ff_vp8_v_loop_filter8uv_mbedge_sse2; +#endif } if (mm_flags & AV_CPU_FLAG_SSE2) { |