Browse code

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

Måns Rullgård authored on 2010/03/15 07:29:11
Showing 1 changed files
... ...
@@ -839,5 +839,5 @@ void ff_dwt_init(DWTContext *c)
839 839
     c->horizontal_compose97i = ff_snow_horizontal_compose97i;
840 840
     c->inner_add_yblock = ff_snow_inner_add_yblock;
841 841
 
842
-    if (ARCH_X86) ff_dwt_init_x86(c);
842
+    if (HAVE_MMX) ff_dwt_init_x86(c);
843 843
 }