summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 11:48:01 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 11:48:01 +0000
commitcbe1fcbf8309755549d01cec871c84316432ab8c (patch)
tree70ebbad31fe52d61db12adb58d54b383df344018
parent771cd67118f4d8e1bd053c97cbb4c98b08c7b609 (diff)
downloadmpv-cbe1fcbf8309755549d01cec871c84316432ab8c.tar.bz2
mpv-cbe1fcbf8309755549d01cec871c84316432ab8c.tar.xz
Drop USE_ prefix from USE_MPLAYER_CPUDETECT #define.
It is unlike the other USE_ #defines set by configure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27372 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpeg2/cpu_accel.c8
-rw-r--r--libmpeg2/libmpeg-0.4.1.diff8
2 files changed, 8 insertions, 8 deletions
diff --git a/libmpeg2/cpu_accel.c b/libmpeg2/cpu_accel.c
index 66f7b7fdff..587cf32ad3 100644
--- a/libmpeg2/cpu_accel.c
+++ b/libmpeg2/cpu_accel.c
@@ -41,11 +41,11 @@
* instructions via assembly. However, it is regarded as duplicated work
* in MPlayer, so that we enforce using MPlayer's implementation.
*/
-#define USE_MPLAYER_CPUDETECT
+#define MPLAYER_CPUDETECT
static inline uint32_t arch_accel (void)
{
-#if !defined(USE_MPLAYER_CPUDETECT)
+#if !defined(MPLAYER_CPUDETECT)
uint32_t eax, ebx, ecx, edx;
int AMD;
uint32_t caps;
@@ -120,7 +120,7 @@ static inline uint32_t arch_accel (void)
caps |= MPEG2_ACCEL_X86_MMXEXT;
return caps;
-#else /* USE_MPLAYER_CPUDETECT: Use MPlayer's CPU capability property. */
+#else /* MPLAYER_CPUDETECT: Use MPlayer's CPU capability property. */
caps = 0;
if (gCpuCaps.hasMMX)
caps |= MPEG2_ACCEL_X86_MMX;
@@ -133,7 +133,7 @@ static inline uint32_t arch_accel (void)
return caps;
-#endif /* USE_MPLAYER_CPUDETECT */
+#endif /* MPLAYER_CPUDETECT */
}
#endif /* ARCH_X86 || ARCH_X86_64 */
diff --git a/libmpeg2/libmpeg-0.4.1.diff b/libmpeg2/libmpeg-0.4.1.diff
index 8a39bd1498..16e9cff950 100644
--- a/libmpeg2/libmpeg-0.4.1.diff
+++ b/libmpeg2/libmpeg-0.4.1.diff
@@ -19,11 +19,11 @@
+ * instructions via assembly. However, it is regarded as duplicated work
+ * in MPlayer, so that we enforce using MPlayer's implementation.
+ */
-+#define USE_MPLAYER_CPUDETECT
++#define MPLAYER_CPUDETECT
+
static inline uint32_t arch_accel (void)
{
-+#if !defined(USE_MPLAYER_CPUDETECT)
++#if !defined(MPLAYER_CPUDETECT)
uint32_t eax, ebx, ecx, edx;
int AMD;
uint32_t caps;
@@ -31,7 +31,7 @@
caps |= MPEG2_ACCEL_X86_MMXEXT;
return caps;
-+#else /* USE_MPLAYER_CPUDETECT: Use MPlayer's CPU capability property. */
++#else /* MPLAYER_CPUDETECT: Use MPlayer's CPU capability property. */
+ caps = 0;
+ if (gCpuCaps.hasMMX)
+ caps |= MPEG2_ACCEL_X86_MMX;
@@ -44,7 +44,7 @@
+
+ return caps;
+
-+#endif /* USE_MPLAYER_CPUDETECT */
++#endif /* MPLAYER_CPUDETECT */
}
-#endif /* ARCH_X86 */
+#endif /* ARCH_X86 || ARCH_X86_64 */