[MPlayer-dev-eng] [PATCH] Windows DLL support for OS X/Intel (cleaned version)

Stephane Lapie darksoul at darkbsd.org
Wed Jul 26 14:23:34 CEST 2006


On Wed, Jul 26, 2006 at 01:26:09AM +0300 Valtteri Vuorikoski, Valtteri Vuorikoski <vuori at sci.fi> wrote:
> This is a somewhat saner version of the previous patch to enable DLL  
> support on OS X/Intel. The caveat regarding DYLD_BIND_AT_LAUNCH still  
> applies.

I was wondering (as I posted on the Bugzilla) whether this would completely
solve the issue. Wouldn't another function call to a lib provided by Apple
from the Win32 compatibility functions, require an aligned ESP register and
then crash with a SIGILL again ?

> A warning is now given if the user attempts to use DLL codecs without  
> setting the environment variable. I'll fix the GUI to invoke mplayer  
> proper with this variable set soon.

Is it really proper to ask the user to do this ? Usually (but that's just my
opinion there) a program's behaviour should not change that much because of
an environment variable. Then again, yes, it's the cleanest way yet to get the
job done properly.
-- 
Stephane LAPIE, EPITA SRS, Promo 2005
"Even when they have digital readouts, I can't understand them."
--MegaTokyo



More information about the MPlayer-dev-eng mailing list