[Ffmpeg-devel] AVOptions

Martin Boehme boehme
Wed Sep 14 10:02:58 CEST 2005

Vidar Madsen wrote:
> I'm not sure why we're having this discussion, since it's largely a
> non-issue from what I can make of it. ;)
> As I see it, there are two practical options;
> a) Declare that the options are case-sensitive and lowercase.
> or
> b) Declare them case-insensitive but restricted to 7-bit ASCII.
> If b), and the function strcasecmp() itself is the problem (which it
> might be, since it might rely on less portable locale functions), how
> about just adding a small string comparison function to libavutil?
> Speed isn't a problem either, since the options will be parsed only
> once, during start-up.

And then specify that the case-insensitive comparisons are going to be 
carried out according to English conventions (not Turkish or any other 
language). This is what people expect, since they're probably going to 
be English language words, anyway...


Martin B?hme
Inst. f. Neuro- and Bioinformatics
Ratzeburger Allee 160, D-23538 Luebeck
Phone: +49 451 500 5514
Fax:   +49 451 500 5502
boehme at inb.uni-luebeck.de

More information about the ffmpeg-devel mailing list