diff i386/dsputil_mmx.c @ 3777:20545fbb6f7c libavcodec

add some #ifdef CONFIG_ENCODERS/DECODERS
author mru
date Wed, 27 Sep 2006 19:54:07 +0000
parents 2000e401593d
children 6a40092eb9e6
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Wed Sep 27 19:47:39 2006 +0000
+++ b/i386/dsputil_mmx.c	Wed Sep 27 19:54:07 2006 +0000
@@ -2527,6 +2527,7 @@
     }
 }
 
+#ifdef CONFIG_ENCODERS
 static int try_8x8basis_mmx(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale){
     long i=0;
 
@@ -2612,6 +2613,7 @@
         }
     }
 }
+#endif /* CONFIG_ENCODERS */
 
 #define PREFETCH(name, op) \
 void name(void *mem, int stride, int h){\