[MPlayer-dev-eng] [PATCH] Fix dll loading with Turkish locales
Diego Biurrun
diego at biurrun.de
Wed Jan 19 14:07:03 CET 2005
Ismail Donmez writes:
>
> The problem:
>
> In turkish locale toupper("i) != I and tolower("I") != i . This problem makes
> mplayer crash when an external dll needs to be loaded for audio and/or video.
> I tried to get a sensible backtrace but al I get was "??" lines. I suspect
> crash happens inside the dll.
>
> The solution:
>
> Set LC_ALL to "C" before opening audio/video decoder so character conversions
> doesn't use locale settings. This have no effect on !Turkish locales where
> the above problem doesn't apply.
There should at the very least be comments that explain why this hack
is needed..
Diego
More information about the MPlayer-dev-eng
mailing list