]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dct.c
http: Add encoding/decoding flags to the AVOptions
[ffmpeg] / libavcodec / dct.c
index caa6bdb4b4b407e3b1003519e5926b4bdd6144c8..5c63af30a1a536347ab1f4f81711645441ce9bd9 100644 (file)
@@ -30,9 +30,7 @@
 #include <math.h>
 #include "libavutil/mathematics.h"
 #include "dct.h"
-
-#define DCT32_FLOAT
-#include "dct32.c"
+#include "dct32.h"
 
 /* sin((M_PI * x / (2*n)) */
 #define SIN(s,n,x) (s->costab[(n) - (x)])
@@ -210,7 +208,7 @@ av_cold int ff_dct_init(DCTContext *s, int nbits, enum DCTTransformType inverse)
         }
     }
 
-    s->dct32 = dct32;
+    s->dct32 = ff_dct32_float;
     if (HAVE_MMX)     ff_dct_init_mmx(s);
 
     return 0;