aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/dwt.c
diff options
context:
space:
mode:
authorMåns Rullgård2010-03-14 22:29:11 +0000
committerMåns Rullgård2010-03-14 22:29:11 +0000
commit1e470fadcbe08cd3397b7658784b7fb7fcb5ceeb (patch)
tree1da0817fa0c803af5d9cdef7045799f12980c2a3 /libavcodec/dwt.c
parent6d2877f47e83872da9aa1dad3172ba610d3c65d0 (diff)
DWT: x86 init should depend on HAVE_MMX
The init function is only compiled if MMX is enabled, the call must use the same condition. Originally committed as revision 22531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dwt.c')
-rw-r--r--libavcodec/dwt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dwt.c b/libavcodec/dwt.c
index 0b8f545658..2ecb04a4ee 100644
--- a/libavcodec/dwt.c
+++ b/libavcodec/dwt.c
@@ -839,5 +839,5 @@ void ff_dwt_init(DWTContext *c)
c->horizontal_compose97i = ff_snow_horizontal_compose97i;
c->inner_add_yblock = ff_snow_inner_add_yblock;
- if (ARCH_X86) ff_dwt_init_x86(c);
+ if (HAVE_MMX) ff_dwt_init_x86(c);
}