changeset 11490:c71384779e14 libavcodec

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.
author mru
date Sun, 14 Mar 2010 22:29:11 +0000
parents 1aba21918874
children 63837bcce840
files dwt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }