1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00

cosmetics: Fix some typos and trailing whitespace in local changes.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26315 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-04-01 17:41:18 +00:00
parent 01eb667a55
commit 01490fe993
3 changed files with 10 additions and 10 deletions

View File

@ -38,8 +38,8 @@
#if defined(ARCH_X86) || defined(ARCH_X86_64)
/* MPlayer imports libmpeg2 as decoder, which detects MMX / 3DNow!
* instructions via assembly. However, it is regarded as duplicaed work
* in MPlayer, so that we enforce to use MPlayer's implementation.
* instructions via assembly. However, it is regarded as duplicated work
* in MPlayer, so that we enforce using MPlayer's implementation.
*/
#define USE_MPLAYER_CPUDETECT
@ -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 /* USE_MPLAYER_CPUDETECT: Use MPlayer's CPU capability property. */
caps = 0;
if (gCpuCaps.hasMMX)
caps |= MPEG2_ACCEL_X86_MMX;

View File

@ -16,8 +16,8 @@
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
+
+/* MPlayer imports libmpeg2 as decoder, which detects MMX / 3DNow!
+ * instructions via assembly. However, it is regarded as duplicaed work
+ * in MPlayer, so that we enforce to use MPlayer's implementation.
+ * instructions via assembly. However, it is regarded as duplicated work
+ * in MPlayer, so that we enforce using MPlayer's implementation.
+ */
+#define USE_MPLAYER_CPUDETECT
+
@ -31,7 +31,7 @@
caps |= MPEG2_ACCEL_X86_MMXEXT;
return caps;
+#else /* USE_MPLAYER_CPUDETECT: Use MPlayer's cpu capability property */
+#else /* USE_MPLAYER_CPUDETECT: Use MPlayer's CPU capability property. */
+ caps = 0;
+ if (gCpuCaps.hasMMX)
+ caps |= MPEG2_ACCEL_X86_MMX;