]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dct-test.c
add support for files that do not allow more than 4 subframes
[ffmpeg] / libavcodec / dct-test.c
index b2dfcdf39aae3489c068b85c45008e1036ee1b8d..b45f23ed270b2c7393706d7a9f9e7e46351d2005 100644 (file)
@@ -32,6 +32,7 @@
 #include <unistd.h>
 #include <math.h>
 
+#include "libavutil/cpu.h"
 #include "libavutil/common.h"
 #include "libavutil/lfg.h"
 
@@ -554,7 +555,7 @@ int main(int argc, char **argv)
     int test_idct = 0, test_248_dct = 0;
     int c,i;
     int test=1;
-    cpu_flags = mm_support();
+    cpu_flags = av_get_cpu_flags();
 
     ff_ref_dct_init();
     idct_mmx_init();