changeset 590:3f8824eb4690 libavcodec

fixing normal mmx idct
author michaelni
date Fri, 02 Aug 2002 11:58:02 +0000
parents 507e688d57b2
children d3f374218030
files dsputil.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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