[MPlayer-cvslog] r34327 - in trunk/libvo: aclib.c aclib_template.c

diego subversion at mplayerhq.hu
Mon Nov 7 20:54:49 CET 2011


Author: diego
Date: Mon Nov  7 20:54:49 2011
New Revision: 34327

Log:
libvo: Move x86_cpu.h #include to aclib_template, where it is actually used.

This fixes TOOLS/fastmemcpybench compilation.

Modified:
   trunk/libvo/aclib.c
   trunk/libvo/aclib_template.c

Modified: trunk/libvo/aclib.c
==============================================================================
--- trunk/libvo/aclib.c	Mon Nov  7 20:54:47 2011	(r34326)
+++ trunk/libvo/aclib.c	Mon Nov  7 20:54:49 2011	(r34327)
@@ -27,7 +27,6 @@
 #include <string.h>
 #include "cpudetect.h"
 #include "fastmemcpy.h"
-#include "libavutil/x86_cpu.h"
 #undef memcpy
 
 #define BLOCK_SIZE 4096

Modified: trunk/libvo/aclib_template.c
==============================================================================
--- trunk/libvo/aclib_template.c	Mon Nov  7 20:54:47 2011	(r34326)
+++ trunk/libvo/aclib_template.c	Mon Nov  7 20:54:49 2011	(r34327)
@@ -80,6 +80,7 @@ If you have questions please contact wit
 // 3dnow memcpy support from kernel 2.4.2
 //  by Pontscho/fresh!mindworkz
 
+#include "libavutil/x86_cpu.h"
 
 #undef HAVE_ONLY_MMX1
 #if HAVE_MMX && !HAVE_MMX2 && !HAVE_AMD3DNOW && !HAVE_SSE


More information about the MPlayer-cvslog mailing list