# HG changeset patch # User mru # Date 1268605751 0 # Node ID c71384779e1474b65bab43faf0969a568fa5d9b2 # Parent 1aba21918874e6a6d387a8495b0a628bd95527b0 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. diff -r 1aba21918874 -r c71384779e14 dwt.c --- a/dwt.c Sun Mar 14 19:59:47 2010 +0000 +++ b/dwt.c Sun Mar 14 22:29:11 2010 +0000 @@ -839,5 +839,5 @@ 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); }