add binfolder path relative filters, fix gbrp color model, vwdw timebar tweaks, title...
[goodguy/history.git] / cinelerra-5.1 / mpeg2enc / quantize.c
index f8a437c145ed61b97906a7b0ef3fc1a8c344e848..f842843d2ea5f4d66cfc9ac462bcc8232c30da5b 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "config.h"
 #include <stdio.h>
+#include <stdlib.h>
 #include <math.h>
 #include <fenv.h>
 #include "global.h"
@@ -58,9 +59,9 @@ static void iquant_non_intra_m1(int16_t *src, int16_t *dst, uint16_t *quant_mat)
 
 void init_quantizer_hv()
 {
+#ifdef X86_CPU
   int flags;
   flags = cpu_accel();
-#ifdef X86_CPU
   if( (flags & ACCEL_X86_MMX) != 0 ) /* MMX CPU */
        {
                if(verbose) fprintf( stderr, "SETTING " );