[MPlayer-dev-eng] [PATCH] Fix crash when using win32 codecs on mac osx / intel

Ulion ulion2002 at gmail.com
Wed Aug 22 16:32:35 CEST 2007


Hello,

According to an old post:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-December/064327.html

I made a patch to make mac osx / intel works with win32 codecs.

The CFLAGS for resolving problem is only added for compiling win32.o
and only on mac osx / intel.

After use the patch, finally I can use mplayer to play wmv9 files by
using win32 codecs.

-- 
Ulion
-------------- next part --------------
Index: loader/Makefile
===================================================================
--- loader/Makefile	(revision 24105)
+++ loader/Makefile	(working copy)
@@ -11,8 +11,12 @@
 # QTX emulation is not supported in Darwin
 ifneq ($(TARGET_OS),Darwin)
 SRCS_COMMON += wrapper.S
+else
+ifeq ($(ARCH_X86),yes)
+win32.o: CFLAGS += -mstackrealign -fno-unit-at-a-time
 endif
 endif
+endif
 
 SRCS_COMMON += dshow/DS_AudioDecoder.c \
                dshow/DS_Filter.c \


More information about the MPlayer-dev-eng mailing list