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

Diego Biurrun diego at biurrun.de
Thu Aug 23 00:05:52 CEST 2007


On Wed, Aug 22, 2007 at 10:32:35PM +0800, Ulion wrote:
> 
> 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.
> 
> --- 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

The patch is wrong, you are enabling this on Linux as well.  Rejected.

Diego



More information about the MPlayer-dev-eng mailing list