[Ffmpeg-devel] AVOptions

Måns Rullgård mru
Tue Sep 13 00:03:06 CEST 2005


Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:

> Hi,
> On Mon, Sep 12, 2005 at 09:50:25PM +0100, M?ns Rullg?rd wrote:
>> Jan Knutar <jknutar at nic.fi> writes:
>> > On Monday 12 September 2005 23:38, Rich Felker wrote:
>> >> well this will require special comparison functions to ensure that
>> >> case mapping behaves according to ascii only -- otherwise we'll have
>> >> problems when people set it to turkish locale and such... :(
>> 
>> This isn't really a problem.  We can simply decide never to name an
>> option in Turkish, and translating options would be very stupid.
>
> The point was that you can't use strcasecmp, because setlocale can
> break it.

It could, but AFAIK all commonly used encodings are ASCII compatible.
Things like UTF-16 are rarely used.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list