[FFmpeg-cvslog] r22531 - trunk/libavcodec/dwt.c

mru subversion
Sun Mar 14 23:29:11 CET 2010


Author: mru
Date: Sun Mar 14 23:29:11 2010
New Revision: 22531

Log:
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.

Modified:
   trunk/libavcodec/dwt.c

Modified: trunk/libavcodec/dwt.c
==============================================================================
--- trunk/libavcodec/dwt.c	Sun Mar 14 23:25:35 2010	(r22530)
+++ trunk/libavcodec/dwt.c	Sun Mar 14 23:29:11 2010	(r22531)
@@ -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);
 }



More information about the ffmpeg-cvslog mailing list