diff dsputil.c @ 590:3f8824eb4690 libavcodec

fixing normal mmx idct
author michaelni
date Fri, 02 Aug 2002 11:58:02 +0000
parents 3c07cf9595de
children c0005de2be59
line wrap: on
line diff
--- a/dsputil.c	Thu Aug 01 23:23:48 2002 +0000
+++ b/dsputil.c	Fri Aug 02 11:58:02 2002 +0000
@@ -1294,11 +1294,12 @@
         ff_idct_put = simple_idct_put;
         ff_idct_add = simple_idct_add;
         use_permuted_idct=0;
-    } else {
+    }
+#endif
+    if(ff_idct != NULL) {
         ff_idct_put = gen_idct_put;
         ff_idct_add = gen_idct_add;
     }
-#endif
 
     if(use_permuted_idct)
 #ifdef SIMPLE_IDCT